derp fix generic google search with colons

This commit is contained in:
Cade Scroggins 2016-02-03 10:51:03 -08:00
parent 651f113779
commit d9436712dd

View file

@ -133,8 +133,8 @@
Cmdr.searchHelp.style.height = Math.ceil(Cmdr.commands.length / 2) + 'rem';
Cmdr.searchText.value = '';
} else {
q = q.split(':');
Cmdr.location = Cmdr.default + encodeURIComponent(q);
q = q.split(':');
Cmdr.commands.forEach(function(command) {
if (q[0] === command.key) {