diff options
author | Andrew Dolgov <[email protected]> | 2008-05-19 11:24:46 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-19 11:24:46 +0100 |
commit | 3a40e8a2eda381bd33c2b52869ba50826b614529 (patch) | |
tree | ec0b82a6cb845851611761d80efa5f554a524a4b /tt-rss.js | |
parent | 673c9946741ab7fcc9bcee02c25c26d295e93693 (diff) |
add placeholder mouse trap code, misc fixes
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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); + } +} |