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

add placeholder mouse trap code, misc fixes

This commit is contained in:
Andrew Dolgov
2008-05-19 11:24:46 +01:00
parent 673c994674
commit 3a40e8a2ed
5 changed files with 49 additions and 4 deletions

View File

@@ -1409,3 +1409,17 @@ function hotkey_handler(e) {
}
}
function mouse_handler(e) {
try {
var r_mouse = false;
if (window.event) {
r_mouse = window.event.button == 2;
} else if (e) {
r_mouse = e.which == 3;
}
} catch (e) {
exception_error("mouse_handler", e);
}
}