Server IP : 172.67.214.6 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/redwjova/www/wp-content/themes/kadence/assets/js/src/ |
Upload File : |
/* global cssVars */ /** * File ie.js. * * Handles running the css var ponyfill */ (function() { 'use strict'; window.kadenceIE = { /** * Initiate the script to process all */ initAll: function( element ) { cssVars({ // Targets rootElement : document, shadowDOM : false, // Sources include : 'link[rel=stylesheet],style', exclude : '', variables : {}, // Options onlyLegacy : true, preserveStatic: true, preserveVars : false, silent : false, updateDOM : true, updateURLs : true, watch : false, }); }, // Initiate the menus when the DOM loads. init: function() { if ( typeof cssVars == 'function' ) { window.kadenceIE.initAll(); } else { var initLoadDelay = setInterval( function(){ if ( typeof cssVars == 'function' ) { window.kadenceIE.initAll(); clearInterval(initLoadDelay); } }, 200 ); } } } if ( 'loading' === document.readyState ) { // The DOM has not yet been loaded. document.addEventListener( 'DOMContentLoaded', window.kadenceIE.init ); } else { // The DOM has already been loaded. window.kadenceIE.init(); } })();