Removed setDefaultTransition in docs.js

This isn't needed anymore.
This commit is contained in:
toddparker 2012-01-10 11:27:24 -05:00 committed by scottjehl
parent 3099ff01a2
commit 39759f0dfb

View file

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