mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: topic search shortcut for macs
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user