1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 01:35:56 +00:00

grabber: prevent text selection when resizing

This commit is contained in:
Andrew Dolgov
2008-05-20 06:18:00 +01:00
parent a3f762aef7
commit a2be67cd6b

View File

@@ -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);
}