projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d04995c
)
unfucked the delete key in IE9
author
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 11 Oct 2011 20:32:43 +0000
(16:32 -0400)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 18 Oct 2011 19:00:02 +0000
(21:00 +0200)
webcit/static/summaryview.js
patch
|
blob
|
history
diff --git
a/webcit/static/summaryview.js
b/webcit/static/summaryview.js
index 0dffd2416482ea75d493a79596532b6ff56aa010..7cf280d8d1aeb3d307249f9d0c854dcd30635f11 100644
(file)
--- a/
webcit/static/summaryview.js
+++ b/
webcit/static/summaryview.js
@@
-451,8
+451,9
@@
function deleteAllSelectedMessages() {
}
function CtdlMessageListKeyUp(event) {
- var key = event.which;
- if (key == 46) { // DELETE
+ var key = event.which || event.keyCode;
+
+ if (key == 46) { /* DELETE */
deleteAllSelectedMessages();
}
}