aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Crosby2012-05-26 23:09:52 -0700
committerPhil Crosby2012-05-26 23:09:52 -0700
commit2d095a713b3514a0a661daf2e9fa4b22bc6950d2 (patch)
tree243afe86d142387849322f5d50a450b6098d7c56
parent5c6424184b3e3137ab2d06ee59ab07dc27a7a61c (diff)
downloadvimium-2d095a713b3514a0a661daf2e9fa4b22bc6950d2.tar.bz2
Rename the force parameter
-rw-r--r--content_scripts/vomnibar.js6
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);