diff --git a/common/content/dactyl.xul b/common/content/dactyl.xul index d800941f..20fc35f8 100644 --- a/common/content/dactyl.xul +++ b/common/content/dactyl.xul @@ -9,12 +9,9 @@ --> + - - - ]> + + + + + + ; + + for each (let attr in append..@key) + attr.parent().@id = "dactyl-statusline-field-" + attr; util.overlayWindow(window, { - append: - - - - - - .* + objects: this.widgets = { get status() this.container }, + append: append.* }); this._statusLine = document.getElementById("status-bar"); this.statusBar = document.getElementById("addon-bar") || this._statusLine; this.statusBar.collapsed = true; // it is later restored unless the user sets laststatus=0 - // our status bar fields - this.widgets = array(["container", "url", "inputbuffer", "progress", "tabcount", "bufferposition", "zoomlevel"] - .map(function (field) [field, document.getElementById("dactyl-statusline-field-" + field)])) - .toObject(); - this.widgets.status = this.widgets.container; if (this.statusBar.localName == "toolbar") { styles.system.add("addon-bar", config.styleableChrome,