Permalink
Browse files

needed $.mobile.activePage

  • Loading branch information...
scottjehl
scottjehl committed Nov 11, 2010
1 parent aec0cbc commit bffd9a991b2dc13256ce88c5dde18e9d29a62c3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 experiments/themeswitcher/jquery.mobile.themeswitcher.js
@@ -3,7 +3,7 @@
$.themeswitcher = function(){
var themesDir = 'http://jquerymobile.com/test/themes/',
themes = ['default','valencia'],
- currentPage = $.activePage,
+ currentPage = $.mobile.activePage,
menuPage = $( '<div data-role=\'dialog\' data-theme=\'a\'>' +
'<div data-role=\'header\' data-theme=\'b\'>' +
'<div class=\'ui-title\'>Switch Theme:</div>'+

0 comments on commit bffd9a9

Please sign in to comment.