diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-12-15 19:19:15 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-12-15 19:19:15 +0100 |
commit | 0c8049f226497c6e63eaeac7d5043862cb1adcf6 (patch) | |
tree | b8b228fbace37681590d638478c6b2b8d957d86a /program/js | |
parent | 5c8339378881f9198d60f427a2ced954fd0e859a (diff) |
Fix position of messages list column dragging layer when the list is scrolled down
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/list.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js index 895a9e645..6c0fbc2db 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -1461,6 +1461,9 @@ column_drag_mouse_move: function(e) var lpos = $(this.list).offset(), cells = this.thead.rows[0].cells; + // fix layer position when list is scrolled + lpos.top += this.list.scrollTop + this.list.parentNode.scrollTop; + // create dragging layer this.col_draglayer = $('<div>').attr('id', 'rcmcoldraglayer') .css(lpos).css({ position:'absolute', 'z-index':2001, |