mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-26 09:04:43 +00:00
Pass null event param for page _trigger beforehide and beforeshow -- Fixes issue #700
This commit is contained in:
parent
ddcacc1482
commit
b740854ae7
1 changed files with 2 additions and 2 deletions
|
|
@ -384,9 +384,9 @@
|
|||
//set as data for returning to that spot
|
||||
from.data( "lastScroll", currScroll);
|
||||
//trigger before show/hide events
|
||||
from.data( "page" )._trigger( "beforehide", { nextPage: to } );
|
||||
from.data( "page" )._trigger( "beforehide", null, { nextPage: to } );
|
||||
}
|
||||
to.data( "page" )._trigger( "beforeshow", { prevPage: from || $("") } );
|
||||
to.data( "page" )._trigger( "beforeshow", null, { prevPage: from || $("") } );
|
||||
|
||||
function loadComplete(){
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue