Skip to content
Browse files

Made another suggested tweak by @diegoperini

  • Loading branch information...
1 parent 1848b4d commit e83911a243d6370d4083df8bb3e970ec0e7b20b0 @Integralist committed
Showing with 8 additions and 2 deletions.
  1. +8 −2 Assets/Scripts/DOMready.js
View
10 Assets/Scripts/DOMready.js
@@ -67,11 +67,17 @@ var DOMready = (function() {
else if (isIE < 9) {
explorerTimer = win.setInterval(function() {
if (doc.body) {
+ // Check for doScroll success
try {
dce.('div').doScroll('left');
win.clearInterval(explorerTimer);
- return process();
- } catch(e) {}
+ } catch(e) {
+ return;
+ }
+
+ // Process function stack
+ process();
+ return;
}
}, 10);

0 comments on commit e83911a

Please sign in to comment.
Something went wrong with that request. Please try again.