mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Bug 329882 - "bc has no properties console.js" [r=benjamin]
This commit is contained in:
parent
81ff957c42
commit
15adadc7e7
@ -94,7 +94,10 @@ function updateSortCommand(aOrder)
|
||||
|
||||
function updateModeCommand(aMode)
|
||||
{
|
||||
var bc = document.getElementById("Console:mode" + aMode);
|
||||
/* aMode can end up invalid if it set by an extension that replaces */
|
||||
/* mode and then it is uninstalled or disabled */
|
||||
var bc = document.getElementById("Console:mode" + aMode) ||
|
||||
document.getElementById("Console:modeAll");
|
||||
bc.setAttribute("checked", true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user