mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-11 18:01:01 +00:00
don't remove themes on switch.
This commit is contained in:
parent
18a17dd6d9
commit
1fa820f85f
1 changed files with 2 additions and 0 deletions
|
|
@ -27,10 +27,12 @@
|
|||
|
||||
//remover, adder
|
||||
function addTheme(theme){
|
||||
/*
|
||||
//way too greedy theme remover
|
||||
$.each(themes,function( i ){
|
||||
$('head link[href*='+themes[ i ]+']').remove();
|
||||
});
|
||||
*/
|
||||
$('head').append( '<link rel=\'stylesheet\' href=\''+ themesDir + theme +'/\' />' );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue