Skip to content

Commit a956e12

Browse files
committed
Fix missing query in search dict
1 parent eea13de commit a956e12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/renderer/Omnibox.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ Omnibox.prototype.submit = function() {
162162
}
163163
else {
164164
console.log('[OMNIBOX] Search URL:', customSearch[0].url);
165-
output = customSearch[0].url.replace('{query}', query);
165+
output = customSearch[0].url.replace('{query}', query.trim());
166+
console.log(output);
166167
}
167168

168169
}

0 commit comments

Comments
 (0)