diff options
| author | Stephen Blott | 2016-09-14 08:10:55 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-09-14 08:10:55 +0100 |
| commit | 48e3893076a6ca93223743bee73b713721070eb5 (patch) | |
| tree | 0e22db9029eebf68a0db13eaa2fe5f76cd1c5ccb /background_scripts | |
| parent | 722cd3c40f89d93682f08e88b6d4cb46ca70991e (diff) | |
| download | vimium-48e3893076a6ca93223743bee73b713721070eb5.tar.bz2 | |
Fix omission from 722cd3c40f89d93682f08e88b6d4cb46ca70991e.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/marks.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/marks.coffee b/background_scripts/marks.coffee index daf28748..963b8925 100644 --- a/background_scripts/marks.coffee +++ b/background_scripts/marks.coffee @@ -66,7 +66,7 @@ Marks = # If we're not going to be scrolling to a particular position in the tab, then we choose all tabs with a # matching URL prefix. Otherwise, we require an exact match. query = if markInfo.scrollX == markInfo.scrollY == 0 then "#{markInfo.url}*" else markInfo.url - chrome.tabs.query { url: "#{markInfo.url}*" }, (tabs) => + chrome.tabs.query { url: query }, (tabs) => if 0 < tabs.length # We have at least one matching tab. Pick one and go to it. @pickTab tabs, (tab) => |
