acf
This commit is contained in:
2
media/plg_system_acf/js/field_previewer.js
Normal file
2
media/plg_system_acf/js/field_previewer.js
Normal file
File diff suppressed because one or more lines are too long
2
media/plg_system_acf/js/helper.js
Normal file
2
media/plg_system_acf/js/helper.js
Normal file
@ -0,0 +1,2 @@
|
||||
!function(window,document){"use strict";var helper={asyncScript:function(js_script){document.addEventListener("DOMContentLoaded",function(){window.addEventListener("load",function(){eval(js_script)})})},lazyloadIframes:function(){document.querySelectorAll("iframe.lazyload[data-src]").forEach(function(t){t.setAttribute("src",t.getAttribute("data-src")),t.removeAttribute("data-src")})}};window.ACFHelper=helper}(window,document);
|
||||
|
||||
Reference in New Issue
Block a user