summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 022ed3180..c49a8977c 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -195,6 +195,7 @@ init_fixed_header: function()
var me = this;
$(window).resize(function(){ me.resize() });
+ $(window).scroll(function(){ me.fixed_header.css({ 'marginLeft': (-$(window).scrollLeft()) + 'px' }) });
}
else {
$(this.fixed_header).find('thead').replaceWith(clone);
@@ -221,6 +222,8 @@ resize: function()
$(this.thead).find('tr td').each(function(index) {
$(this).css('width', column_widths[index]);
});
+
+ $(window).scroll();
},
/**