Permalink
Browse files

Demos: fixed inactive Loader demo

JavaScript for Loader options demo was under the HEAD tag, which prevented it from activating when the page was AJAX-loaded. Relevant script tag has been moved to the data-role="page" element.
  • Loading branch information...
1 parent 9655450 commit 53ff5bfc5815e529b7d7764a75263b0a3cc476b5 @jakeboone02 committed Mar 9, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 demos/widgets/loader/index.php
@@ -11,6 +11,10 @@
<script src="../../../js/jquery.js"></script>
<script src="../../_assets/js/"></script>
<script src="../../../js/"></script>
+</head>
+<body>
+<div data-role="page" class="jqm-demos" data-quicklinks="true">
+
<script>
$(document).on("click", ".show-page-loading-msg", function() {
var $this = $( this ),
@@ -31,9 +35,6 @@
$.mobile.loading( 'hide' );
});
</script>
-</head>
-<body>
-<div data-role="page" class="jqm-demos" data-quicklinks="true">
<div data-role="header" class="jqm-header">
<h1 class="jqm-logo"><a href="../../../"><img src="../../_assets/img/jquery-logo.png" alt="jQuery Mobile Framework"></a></h1>

0 comments on commit 53ff5bf

Please sign in to comment.