aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.markdown2
-rw-r--r--content_scripts/vomnibar.coffee2
-rw-r--r--manifest.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.markdown b/README.markdown
index 0cd93331..dbbc7dde 100644
--- a/README.markdown
+++ b/README.markdown
@@ -164,7 +164,7 @@ don't exceed 110 characters.
Release Notes
-------------
-1.40 (Unreleased)
+1.40 (10/27/2012)
- Bugfixes.
- Added options for search engines and regex find.
- Pressing unmapped keys in hints mode now deactivates the mode.
diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee
index 724f4874..31e58f15 100644
--- a/content_scripts/vomnibar.coffee
+++ b/content_scripts/vomnibar.coffee
@@ -68,7 +68,6 @@ class VomnibarUI
@update(true)
updateSelection: ->
- @selection = Math.min(@selection, @completions.length - 1)
for i in [0...@completionList.children.length]
@completionList.children[i].className = (if i == @selection then "vomnibarSelected" else "")
@@ -139,6 +138,7 @@ class VomnibarUI
# update completion list with the new data
@completionList.innerHTML = completions.map((completion) -> "<li>#{completion.html}</li>").join("")
@completionList.style.display = if completions.length > 0 then "block" else "none"
+ @selection = Math.min(Math.max(@initialSelectionValue, @selection), @completions.length - 1)
@updateSelection()
update: (updateSynchronously, callback) ->
diff --git a/manifest.json b/manifest.json
index bfccb920..8a8a0229 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Vimium",
- "version": "1.39",
+ "version": "1.40",
"description": "The Hacker's Browser. Vimium provides keyboard shortcuts for navigation and control in the spirit of Vim.",
"icons": { "16": "icons/icon16.png",
"48": "icons/icon48.png",