diff options
author | Andrew Dolgov <[email protected]> | 2007-08-09 07:56:11 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-09 07:56:11 +0100 |
commit | e4914b62755d3dddc42cd3d6a283978338800f57 (patch) | |
tree | 5e3b8af99ca440eb24514fe3b4d9385098563e52 /viewfeed.js | |
parent | 8a5b4579faf150e0d095b52b542cd7eae89cf949 (diff) |
make 'v' hotkey work in CDM mode
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js index 633d883b7..1a3d775ff 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -921,3 +921,19 @@ function cache_invalidate(id) { function getActiveArticleId() { return active_post_id; } + +function cdmMouseIn(elem) { + try { + if (elem.id && elem.id.match("RROW-")) { + var id = elem.id.replace("RROW-", ""); + active_post_id = id; + } + } catch (e) { + exception_error("cdmMouseIn", e); + } + +} + +function cdmMouseOut(elem) { + active_post_id = false; +} |