summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-04 13:06:39 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-04 13:06:39 -0500
commit5f9c248ad60cd40aee056ab6de837d01871ce646 (patch)
treedb7b9373f7db31b57294b0a163f5587eda984d47 /common
parent26b4933b753a5ffe6812f992666734b8f50e44b8 (diff)
downloadpentadactyl-5f9c248ad60cd40aee056ab6de837d01871ce646.tar.gz
Fix possible gray status bar on startup/:rehash.
Diffstat (limited to 'common')
-rw-r--r--common/content/statusline.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/content/statusline.js b/common/content/statusline.js
index 03d6d7ca..bd451318 100644
--- a/common/content/statusline.js
+++ b/common/content/statusline.js
@@ -68,7 +68,8 @@ var StatusLine = Module("statusline", {
objects: this.widgets = { get status() this.container },
prepend: prepend.elements()
});
- this.security = content.document.dactylSecurity;
+
+ this.security = content.document.dactylSecurity || "insecure";
},
get visible() !this.statusBar.collapsed && !this.statusBar.hidden,