mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
removed commented-out code for polyfilling fixed support - it wouldn't have worked as we'd want it to anyway.
This commit is contained in:
parent
6bc63b7f09
commit
d442a0bc0f
1 changed files with 0 additions and 20 deletions
|
|
@ -99,26 +99,6 @@
|
|||
}
|
||||
},
|
||||
|
||||
/* Note: this is all that's needed to make iOS 4.3 and Android 2.1 fix their positioning mistakes after scrolling
|
||||
it won't fully patch a "fixed effect", but rather just repositions after scrollstop
|
||||
|
||||
_fixFixedSupport: function(){
|
||||
var $el = this.element,
|
||||
tbtype = $el.is( ".ui-header" ) ? "header" : "footer";
|
||||
|
||||
$( window )
|
||||
.bind( "scrollstop", function(){
|
||||
// TODO: check if toolbars are not positioned correctly on screen, then proceed
|
||||
if( tbtype === "header" ){
|
||||
$el.css( "top", $( window ).scrollTop() );
|
||||
}
|
||||
else {
|
||||
$el.css( "bottom", -$( window ).scrollTop() );
|
||||
}
|
||||
})
|
||||
},
|
||||
*/
|
||||
|
||||
_bindPageEvents: function(){
|
||||
var self = this,
|
||||
o = self.options,
|
||||
|
|
|
|||
Loading…
Reference in a new issue