summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-20 06:18:00 +0100
committerAndrew Dolgov <[email protected]>2008-05-20 06:18:00 +0100
commita2be67cd6b932bd5fc8b58e109966ff126e982c0 (patch)
tree307084ee7832108d93767324b459e23457f57793 /feedlist.js
parenta3f762aef74833e4ff7b8cb45e06fb7b927697a6 (diff)
grabber: prevent text selection when resizing
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js
index f7699efbe..bdd0d778c 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -510,6 +510,7 @@ function mouse_down_handler(e) {
mouse_is_down = true;
mouse_x = 0;
mouse_y = 0;
+ document.onselectstart = function() { return false; };
}
} catch (e) {
exception_error("mouse_move_handler", e);
@@ -519,6 +520,7 @@ function mouse_down_handler(e) {
function mouse_up_handler(e) {
try {
mouse_is_down = false;
+ document.onselectstart = null;
} catch (e) {
exception_error("mouse_move_handler", e);
}