diff options
| author | Phil Crosby | 2012-06-10 00:01:57 -0700 | 
|---|---|---|
| committer | Phil Crosby | 2012-06-10 01:41:45 -0700 | 
| commit | 5477566fce3e979f482d84c5b1e78594fd4e49a7 (patch) | |
| tree | 05bcc9304f45cad524b1a55f951103af71a5aec2 | |
| parent | 02a8c4772e8defe5f5601b4b20977e969633d262 (diff) | |
| download | vimium-5477566fce3e979f482d84c5b1e78594fd4e49a7.tar.bz2 | |
Trim the vomnibar query
| -rw-r--r-- | content_scripts/vomnibar.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/content_scripts/vomnibar.js b/content_scripts/vomnibar.js index b3bc00f4..93fd79da 100644 --- a/content_scripts/vomnibar.js +++ b/content_scripts/vomnibar.js @@ -122,7 +122,7 @@ var vomnibar = (function() {      },      updateCompletions: function(callback) { -      query = this.input.value.replace(/^\s*/, ""); +      query = this.input.value.replace(/^\s*/, "").trim();        this.completer.filter(query, function(completions) {          this.completions = completions; | 
