From 53f9181b09717805e0732d28f14985d5f9300d2b Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 28 Dec 2010 15:19:07 -0500 Subject: [PATCH] [bootstrap] Fix highlighting the statusline and visual bell after rehash. --HG-- branch : bootstrapped --- common/content/dactyl.js | 33 +++++++++++++++++++++------------ common/content/options.js | 2 +- common/content/statusline.js | 2 +- common/modules/util.jsm | 12 ++++++------ 4 files changed, 29 insertions(+), 20 deletions(-) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 4a29001f..26ec0c30 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -192,21 +192,30 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { */ beep: function () { if (options["visualbell"]) { - let bell = document.getElementById("dactyl-bell"); - let strut = document.getElementById("dactyl-bell-strut"); - if (!bell) { - bell = document.documentElement.insertBefore( - util.xmlToDom(