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