diff options
| author | Phil Crosby | 2012-05-26 23:09:52 -0700 |
|---|---|---|
| committer | Phil Crosby | 2012-05-26 23:09:52 -0700 |
| commit | 2d095a713b3514a0a661daf2e9fa4b22bc6950d2 (patch) | |
| tree | 243afe86d142387849322f5d50a450b6098d7c56 /content_scripts/vomnibar.js | |
| parent | 5c6424184b3e3137ab2d06ee59ab07dc27a7a61c (diff) | |
| download | vimium-2d095a713b3514a0a661daf2e9fa4b22bc6950d2.tar.bz2 | |
Rename the force parameter
Diffstat (limited to 'content_scripts/vomnibar.js')
| -rw-r--r-- | content_scripts/vomnibar.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/content_scripts/vomnibar.js b/content_scripts/vomnibar.js index 88210d05..3add1e6a 100644 --- a/content_scripts/vomnibar.js +++ b/content_scripts/vomnibar.js @@ -142,10 +142,8 @@ var vomnibar = (function() { this.updateSelection(); }, - update: function(force, callback) { - force = force || false; // explicitely default to asynchronous updating - - if (force) { + update: function(updateSynchronously, callback) { + if (updateSynchronously) { // cancel scheduled update if (this.updateTimer !== null) window.clearTimeout(this.updateTimer); |
