projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87b0570
)
Don't trigger an init() on ready if already active or mkws_noready
author
Jason Skomorowski
<jason@indexdata.com>
Mon, 18 Aug 2014 19:44:04 +0000
(15:44 -0400)
committer
Jason Skomorowski
<jason@indexdata.com>
Mon, 18 Aug 2014 19:44:04 +0000
(15:44 -0400)
src/mkws-core.js
patch
|
blob
|
history
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
3316f28
..
3031dd0
100644
(file)
--- 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.$);