Skip to content
Browse files

Trigger Plugin only when Documetn Full Loaded

Fix Problem when using asp:ScriptManager to add scripts
  • Loading branch information...
1 parent 6877c49 commit 98c69b4ad21a831ea6fe7c6dcca703955a298b96 hklemp committed Sep 5, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 multiview JQM 1.1.1/multiview.js
View
6 multiview JQM 1.1.1/multiview.js
@@ -1,4 +1,3 @@
-
/**
* jQuery Mobile Framework : "multiview" plugin
* @author Sven Franck <sven.franck@stokkers.de>
@@ -2441,8 +2440,9 @@
});
/** -------------------------------------- PLUGIN TRIGGER -------------------------------------- **/
-
- $('div:jqmData(wrapper="true")').multiview();
+ $(document).bind('pageinit', function(event) {
+ $('div:jqmData(wrapper="true")').multiview();
+ });

0 comments on commit 98c69b4

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