mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-25 02:10:28 +00:00
make sure stickyfooter is defined before checking length
This commit is contained in:
parent
dbd5e6cfb7
commit
ecbe18d809
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ $.fixedToolbars = (function(){
|
|||
|
||||
//after page is shown, append footer to new page
|
||||
$('.ui-page').live('pageshow', function(event, ui){
|
||||
if( stickyFooter.length ){
|
||||
if( stickyFooter && stickyFooter.length ){
|
||||
stickyFooter.appendTo(event.target);
|
||||
setTop(stickyFooter);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue