aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2017-11-02 09:23:57 +0000
committerGitHub2017-11-02 09:23:57 +0000
commit574729275e92f084660ef9b4ac52512cb4882d31 (patch)
treec87423113c63eafe09d8dd2c5204287e7cae46c2
parent15fc14dc40220af61f988c59378193cdb276a46f (diff)
parent9171f3f9de4c5798295b8d67b1b1d922bb6e4009 (diff)
downloadvimium-574729275e92f084660ef9b4ac52512cb4882d31.tar.bz2
Merge pull request #2761 from mrmr1993/typo-fix
Typos
-rw-r--r--background_scripts/main.coffee2
-rw-r--r--content_scripts/vimium_frontend.coffee2
-rw-r--r--pages/options.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 725766e6..8f095ef1 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -355,7 +355,7 @@ handleFrameFocused = ({tabId, frameId}) ->
# Rotate through frames to the frame count places after frameId.
cycleToFrame = (frames, frameId, count = 0) ->
- # We can't always track which frame chrome has focussed, but here we learn that it's frameId; so add an
+ # We can't always track which frame chrome has focused, but here we learn that it's frameId; so add an
# additional offset such that we do indeed start from frameId.
count = (count + Math.max 0, frames.indexOf frameId) % frames.length
[frames[count..]..., frames[0...count]...]
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index bbc3e4f1..492a82e5 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -236,7 +236,7 @@ Frame =
handlerStack.reset()
isEnabledForUrl = false
window.removeEventListener "focus", onFocus
- window.removeEventListener "hashchange", onFocus
+ window.removeEventListener "hashchange", checkEnabledAfterURLChange
setScrollPosition = ({ scrollX, scrollY }) ->
DomUtils.documentReady ->
diff --git a/pages/options.html b/pages/options.html
index 7ab8886b..ec940cb2 100644
--- a/pages/options.html
+++ b/pages/options.html
@@ -316,7 +316,7 @@ b: http://b.com/?q=%s description
</tr>
-->
</tbody>
- <tbody id='backupAndRestor'>
+ <tbody id='backupAndRestore'>
<tr>
<td colspan="2"><header>Backup and Restore</header></td>
</tr>