From 315364a541d371b2ede8643bbebeb7e56f67d5d1 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Mon, 18 Aug 2014 15:44:04 -0400 Subject: [PATCH] Don't trigger an init() on ready if already active or mkws_noready --- src/mkws-core.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mkws-core.js b/src/mkws-core.js index 3316f28..3031dd0 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -667,7 +667,9 @@ mkws.pagerNext = function(tname) { }; $(document).ready(function() { - mkws.init(); + if (!window.mkws_noready && !mkws.authenticating && !mkws.active) { + mkws.init(); + } }); })(mkws.$); -- 1.7.10.4