diff options
| author | Stephen Blott | 2014-12-30 14:28:12 +0000 |
|---|---|---|
| committer | Stephen Blott | 2014-12-30 14:28:12 +0000 |
| commit | 7eecaf8e4e4e125abc8d51d17fd447e304a22d45 (patch) | |
| tree | 883aa24243ad46a530b28125d016bdd224e8e562 | |
| parent | 318fc7aac682b8314d34a90590061c2af11cf3aa (diff) | |
| parent | ff7a66a205516a7efcce3be47f82a4c0dde504a6 (diff) | |
| download | vimium-7eecaf8e4e4e125abc8d51d17fd447e304a22d45.tar.bz2 | |
Merge branch 'mrmr1993-smblott-github-vif-fix-flicker' into post-1.46
| -rw-r--r-- | pages/vomnibar.coffee | 6 | ||||
| -rw-r--r-- | pages/vomnibar.css | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee index 170f1b42..78c954cd 100644 --- a/pages/vomnibar.coffee +++ b/pages/vomnibar.coffee @@ -61,7 +61,7 @@ class VomnibarUI @reset() reset: -> - @completionList.style.display = "none" + @completionList.style.display = "" @input.value = "" @updateTimer = null @completions = [] @@ -151,7 +151,7 @@ class VomnibarUI populateUiWithCompletions: (completions) -> # 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" + @completionList.style.display = if completions.length > 0 then "block" else "" @selection = Math.min(Math.max(@initialSelectionValue, @selection), @completions.length - 1) @updateSelection() @@ -181,7 +181,7 @@ class VomnibarUI @input.addEventListener "input", @update @input.addEventListener "keydown", @onKeydown @completionList = @box.querySelector("ul") - @completionList.style.display = "none" + @completionList.style.display = "" window.addEventListener "focus", => @input.focus() diff --git a/pages/vomnibar.css b/pages/vomnibar.css index c4bc0008..2042a6c4 100644 --- a/pages/vomnibar.css +++ b/pages/vomnibar.css @@ -3,7 +3,7 @@ #vomnibar ol, #vomnibar ul { list-style: none; - display: block; + display: none; } #vomnibar { |
