mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 19:34:11 +01:00
Fix some cleanup issues. Better error pages for bad dactyl: URLs. Remove some dead code. Other cleanup.
This commit is contained in:
@@ -56,7 +56,11 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
delete window.dactyl;
|
||||
delete window.liberator;
|
||||
|
||||
styles.system.add("cleanup-sheet", config.styleableChrome, <![CDATA[
|
||||
#TabsToolbar tab { display: none; }
|
||||
]]>);
|
||||
styles.unregisterSheet("resource://dactyl-skin/dactyl.css");
|
||||
DOM('#TabsToolbar tab', document).style.display;
|
||||
},
|
||||
|
||||
destroy: function () {
|
||||
|
||||
@@ -12,7 +12,6 @@ var StatusLine = Module("statusline", {
|
||||
init: function init() {
|
||||
this._statusLine = document.getElementById("status-bar");
|
||||
this.statusBar = document.getElementById("addon-bar") || this._statusLine;
|
||||
this.statusBar.collapsed = true;
|
||||
this.baseGroup = this.statusBar == this._statusLine ? "StatusLine " : "";
|
||||
|
||||
if (this.statusBar.localName == "toolbar") {
|
||||
|
||||
Reference in New Issue
Block a user