From 8b40575b5c0d141a8a42b2003f59233a0bc7c4c0 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 31 Jul 2015 07:24:03 -0400
Subject: [PATCH] Fix wrong positioning of message list header on page scroll in Webkit browsers (#1490035)

---
 program/js/list.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/program/js/list.js b/program/js/list.js
index d5a1eb1..5a420b1 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -248,9 +248,10 @@
     $(window).resize(function() { me.resize(); });
     $(window).scroll(function() {
       var w = $(window);
-      me.fixed_header.css('marginLeft', (-w.scrollLeft()) + 'px');
-      if (!bw.webkit)
-        me.fixed_header.css('marginTop', (-w.scrollTop()) + 'px');
+      me.fixed_header.css({
+        marginLeft: -w.scrollLeft() + 'px',
+        marginTop: -w.scrollTop() + 'px'
+      });
     });
   }
   else {

--
Gitblit v1.9.1