aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--background_page.html2
-rw-r--r--vimiumFrontend.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/background_page.html b/background_page.html
index 899d4a51..fba9a078 100644
--- a/background_page.html
+++ b/background_page.html
@@ -772,7 +772,7 @@
*
* This value is configurable via the options page.
*/
- function hudDisabled() {
+ function hudEnabled() {
return localStorage['hideHud'] !== "true";
}
</script>
diff --git a/vimiumFrontend.js b/vimiumFrontend.js
index e0759df2..cf3128e2 100644
--- a/vimiumFrontend.js
+++ b/vimiumFrontend.js
@@ -792,7 +792,7 @@ HUD = {
},
show: function(text) {
- if (hudDisabled()) return;
+ if (!hudEnabled()) return;
clearTimeout(HUD._showForDurationTimerId);
HUD.displayElement().innerHTML = text;
clearInterval(HUD._tweenId);