Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Make the themeswitcher URL relative.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Oct 15, 2010
1 parent 47a45f5 commit 053808f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions experiments/themeswitcher/jquery.mobile.themeswitcher.js
@@ -1,7 +1,7 @@
//quick & dirty theme switcher, written to potentially work as a bookmarklet
(function($){
$.themeswitcher = function(){
var themesDir = 'http://jquerymobile.com/test/themes/',
var themesDir = 'themes/',
themes = ['default','dobson'],
currentPage = $('.ui-page-active'),
menuPage = $( '<div data-role=\'dialog\' data-theme=\'a\'>' +
Expand Down Expand Up @@ -48,4 +48,4 @@
//change page now
$.changePage(currentPage, menuPage, 'pop', false);
};
})(jQuery);
})(jQuery);

0 comments on commit 053808f

Please sign in to comment.