diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-01-31 18:26:47 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-01-31 18:26:47 +0100 |
commit | 8bfbd5e9f9c1d2c4657bda2f6099f01fc8097846 (patch) | |
tree | c9c3fab72bbeb3fc4919340331b2fdd4b382404c /skins/larry/ui.js | |
parent | ee01be5b5b854320de83e09c66070acd71283a70 (diff) | |
parent | 873ae9e9de2aba0f22f3669b1e1519a439d97b5c (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r-- | skins/larry/ui.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js index d2faa3611..d2638bbca 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -1,7 +1,7 @@ /** * Roundcube functions for default skin interface * - * Copyright (c) 2011, The Roundcube Dev Team + * Copyright (c) 2013, The Roundcube Dev Team * * The contents are subject to the Creative Commons Attribution-ShareAlike * License. It is allowed to copy, distribute, transmit and to adapt the work @@ -940,11 +940,11 @@ function rcube_scroller(list, top, bottom) this.delay = 500; this.top - .mouseenter(function() { ref.ts = window.setTimeout(function() { ref.scroll('down'); }, ref.delay); }) + .mouseenter(function() { if (rcmail.drag_active) ref.ts = window.setTimeout(function() { ref.scroll('down'); }, ref.delay); }) .mouseout(function() { if (ref.ts) window.clearTimeout(ref.ts); }); this.bottom - .mouseenter(function() { ref.ts = window.setTimeout(function() { ref.scroll('up'); }, ref.delay); }) + .mouseenter(function() { if (rcmail.drag_active) ref.ts = window.setTimeout(function() { ref.scroll('up'); }, ref.delay); }) .mouseout(function() { if (ref.ts) window.clearTimeout(ref.ts); }); this.scroll = function(dir) |