Commit 4eb04d2c authored by Martin Leblanc's avatar Martin Leblanc
Browse files

ISTWCMS-4700:js for facts figure in layout builder

parent e53cb186
...@@ -228,11 +228,9 @@ ...@@ -228,11 +228,9 @@
} }
$(document).ready(function () { $(document).ready(function () {
// Run the FF code on each of the figures. // Run the FF code on each of the figures.
$(document, context).once('factfigure').each(function () { if ($('.uw-ff').length){
if ($('.uw-ff').length){ runFF();
runFF(); }
}
});
}); });
} }
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment