derp fix generic google search with colons
This commit is contained in:
+1
-1
@@ -133,8 +133,8 @@
|
|||||||
Cmdr.searchHelp.style.height = Math.ceil(Cmdr.commands.length / 2) + 'rem';
|
Cmdr.searchHelp.style.height = Math.ceil(Cmdr.commands.length / 2) + 'rem';
|
||||||
Cmdr.searchText.value = '';
|
Cmdr.searchText.value = '';
|
||||||
} else {
|
} else {
|
||||||
q = q.split(':');
|
|
||||||
Cmdr.location = Cmdr.default + encodeURIComponent(q);
|
Cmdr.location = Cmdr.default + encodeURIComponent(q);
|
||||||
|
q = q.split(':');
|
||||||
|
|
||||||
Cmdr.commands.forEach(function(command) {
|
Cmdr.commands.forEach(function(command) {
|
||||||
if (q[0] === command.key) {
|
if (q[0] === command.key) {
|
||||||
|
|||||||
Reference in New Issue
Block a user