mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 06:03:44 +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 = [
|
||||
/^application_topic_/,
|
||||
/^application_discovery_discovery/,
|
||||
/^application_user_userActivity/
|
||||
/^application_topic_/
|
||||
];
|
||||
|
||||
var check = function(regex){return routeName.match(regex);};
|
||||
|
|
Loading…
Reference in New Issue
Block a user