Skip to content

Node.js based forum software built for the modern web

fix: topic search shortcut for macs

Julian Lamf2c725c658c6
diff --git a/public/src/client/topic.js b/public/src/client/topic.js
index cc955f5442..46df30aa63 100644
--- a/public/src/client/topic.js
+++ b/public/src/client/topic.js
@@ -87,7 +87,7 @@ define('forum/topic', [
if (config.topicSearchEnabled) {
require(['mousetrap'], function (mousetrap) {
- mousetrap.bind('ctrl+f', function (e) {
+ mousetrap.bind(['command+f', 'ctrl+f'], function (e) {
var match = ajaxify.currentPage.match(/^topic\/([\d]+)/);
var tid;
if (match) {