Basically I always render the toolbar for the home page with | |
%div{"data-role" => "header", "data-nobackbtn" => "true" } | |
In '$(document).ready' I added | |
$( '[data-role=page]' ).live('pageshow', function(event){ | |
var $et = $( event.target ); | |
if( $et.attr('class') == "home" || $et.children(0).attr('class') == "home" ){ | |
if ($('.home').length > 1 ){ | |
$('.home:first').remove() | |
} | |
} | |
..... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment