cleverstyle-widgets
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -26,3 +26,3 @@ { | ||
], | ||
"version" : "0.7.2", | ||
"version" : "0.7.3", | ||
"homepage" : "https://github.com/nazar-pc/CleverStyle-Widgets", | ||
@@ -29,0 +29,0 @@ "author" : "Nazar Mokrynskyi <nazar@mokrynskyi.com>", |
@@ -11,3 +11,5 @@ // Generated by LiveScript 1.5.0 | ||
var callback; | ||
if (document.readyState !== 'complete') { | ||
if (window.WebComponents && window.WebComponents.ready) { | ||
setTimeout(action); | ||
} else { | ||
callback = function(){ | ||
@@ -18,4 +20,2 @@ setTimeout(action); | ||
document.addEventListener('WebComponentsReady', callback); | ||
} else { | ||
setTimeout(action); | ||
} | ||
@@ -22,0 +22,0 @@ } |
Sorry, the diff of this file is not supported yet
272437