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