don't add to navbars either, theme switchster

This commit is contained in:
scottjehl 2010-10-15 19:14:43 -04:00
parent b83c0b35db
commit 350d481ccc

View file

@ -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',