mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 09:55:54 +00:00
mouse handler fix for IE8 (closes #241)
This commit is contained in:
@@ -621,7 +621,7 @@ function mouse_down_handler(e) {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
/* do not prevent right click */
|
/* do not prevent right click */
|
||||||
if (e.button && e.button == 2) return;
|
if (e && e.button && e.button == 2) return;
|
||||||
|
|
||||||
if (resize_enabled) {
|
if (resize_enabled) {
|
||||||
mouse_is_down = true;
|
mouse_is_down = true;
|
||||||
@@ -637,7 +637,7 @@ function mouse_down_handler(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("mouse_move_handler", e);
|
exception_error("mouse_down_handler", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -656,7 +656,7 @@ function mouse_up_handler(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("mouse_move_handler", e);
|
exception_error("mouse_up_handler", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
6
prefs.js
6
prefs.js
@@ -2103,7 +2103,7 @@ function mouse_down_handler(e) {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
/* do not prevent right click */
|
/* do not prevent right click */
|
||||||
if (e.button && e.button == 2) return;
|
if (e && e.button && e.button == 2) return;
|
||||||
|
|
||||||
if (selection_disabled) {
|
if (selection_disabled) {
|
||||||
document.onselectstart = function() { return false; };
|
document.onselectstart = function() { return false; };
|
||||||
@@ -2111,7 +2111,7 @@ function mouse_down_handler(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("mouse_move_handler", e);
|
exception_error("mouse_down_handler", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2128,7 +2128,7 @@ function mouse_up_handler(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("mouse_move_handler", e);
|
exception_error("mouse_up_handler", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user