mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 10:44:25 +08:00
only hijack search on topic page
This commit is contained in:
parent
dddeb1a8aa
commit
9ecbfad5fa
|
@ -116,9 +116,7 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
||||||
];
|
];
|
||||||
|
|
||||||
var whitelist = [
|
var whitelist = [
|
||||||
/^application_topic_/,
|
/^application_topic_/
|
||||||
/^application_discovery_discovery/,
|
|
||||||
/^application_user_userActivity/
|
|
||||||
];
|
];
|
||||||
|
|
||||||
var check = function(regex){return routeName.match(regex);};
|
var check = function(regex){return routeName.match(regex);};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user