mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 13:14:45 +00:00
Removed setDefaultTransition in docs.js
This isn't needed anymore.
This commit is contained in:
parent
3099ff01a2
commit
39759f0dfb
1 changed files with 0 additions and 20 deletions
|
|
@ -36,26 +36,6 @@ $(function(){
|
|||
});
|
||||
});
|
||||
|
||||
function setDefaultTransition(){
|
||||
var winwidth = $( window ).width(),
|
||||
trans ="slide";
|
||||
|
||||
if( winwidth >= 1000 ){
|
||||
trans = "none";
|
||||
}
|
||||
else if( winwidth >= 650 ){
|
||||
trans = "fade";
|
||||
}
|
||||
|
||||
$.mobile.defaultPageTransition = trans;
|
||||
}
|
||||
|
||||
|
||||
$(function(){
|
||||
//setDefaultTransition();
|
||||
//$( window ).bind( "throttledresize", setDefaultTransition );
|
||||
});
|
||||
|
||||
|
||||
// Turn off AJAX for local file browsing
|
||||
if ( location.protocol.substr(0,4) === 'file' ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue