This commit is contained in:
barisusakli
2015-09-27 13:36:59 -04:00
parent 63a4c95eb5
commit 4db0dadd1c

View File

@@ -87,6 +87,7 @@ define('forum/topic', [
}
function onKeyDown(ev) {
if (ev.target.nodeName === 'BODY') {
if (ev.which === 36) { // home key
Topic.toTop();
return false;
@@ -95,6 +96,7 @@ define('forum/topic', [
return false;
}
}
}
function handleTopicSearch() {
require(['search', 'mousetrap'], function(search, Mousetrap) {