only hijack search on topic page

This commit is contained in:
Sam 2014-08-22 08:53:00 +10:00
parent dddeb1a8aa
commit 9ecbfad5fa

View File

@ -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);};