Fix wrong positioning of message list header on page scroll in Webkit browsers (#1490035)

pull/289/head
Aleksander Machniak 9 years ago
parent c21f95f626
commit 8b40575b5c

@ -31,6 +31,7 @@ CHANGELOG Roundcube Webmail
- Fix draft removal after a message is sent and storing sent message is disabled (#1490467) - Fix draft removal after a message is sent and storing sent message is disabled (#1490467)
- Fix so imap folder attribute comparisons are case-insensitive (#1490466) - Fix so imap folder attribute comparisons are case-insensitive (#1490466)
- Fix bug where new messages weren't added to the list in search mode - Fix bug where new messages weren't added to the list in search mode
- Fix wrong positioning of message list header on page scroll in Webkit browsers (#1490035)
RELEASE 1.1.2 RELEASE 1.1.2
------------- -------------

@ -248,9 +248,10 @@ init_fixed_header: function()
$(window).resize(function() { me.resize(); }); $(window).resize(function() { me.resize(); });
$(window).scroll(function() { $(window).scroll(function() {
var w = $(window); var w = $(window);
me.fixed_header.css('marginLeft', (-w.scrollLeft()) + 'px'); me.fixed_header.css({
if (!bw.webkit) marginLeft: -w.scrollLeft() + 'px',
me.fixed_header.css('marginTop', (-w.scrollTop()) + 'px'); marginTop: -w.scrollTop() + 'px'
});
}); });
} }
else { else {

Loading…
Cancel
Save