vendor/assets/javascripts/webshims/shims/combos/12.js in webshims-rails-1.14.4 vs vendor/assets/javascripts/webshims/shims/combos/12.js in webshims-rails-1.14.5
- old
+ new
@@ -752,9 +752,13 @@
webshims.ready('WINDOWLOAD mediaelement', loadThird);
} else {
webshims.ready(swfType, initMediaElements);
}
webshims.ready('track', loadTrackUi);
+
+ if(document.readyState == 'complete'){
+ webshims.isReady('WINDOWLOAD', true);
+ }
});
})(webshims);
;webshims.register('track', function($, webshims, window, document, undefined){
"use strict";