mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
closes #4476
This commit is contained in:
@@ -82,6 +82,9 @@ define('forum/topic', [
|
||||
|
||||
function onKeyDown(ev) {
|
||||
if (ev.target.nodeName === 'BODY') {
|
||||
if (ev.shiftKey || ev.ctrlKey || ev.altKey) {
|
||||
return;
|
||||
}
|
||||
if (ev.which === 36) { // home key
|
||||
Topic.toTop();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user