mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-11 09:51:01 +00:00
don't add to navbars either, theme switchster
This commit is contained in:
parent
b83c0b35db
commit
350d481ccc
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//set up the theme switcher on the homepage
|
||||
$('div').live('pagecreate',function(){
|
||||
if( !$(this).is('.ui-dialog')){
|
||||
if( !$(this).is('.ui-dialog,.ui-navbar-expanded')){
|
||||
$('<a href="#">Switch theme</a>')
|
||||
.buttonMarkup({
|
||||
'icon':'gear',
|
||||
|
|
|
|||
Loading…
Reference in a new issue