Shrink scope of a short-live variable
This commit is contained in:
parent
183cc904cc
commit
fbbb09cddc
@ -98,7 +98,7 @@ function TreeStyleTabWindow(aWindow)
|
||||
|
||||
var isDevEdition = this.window.AppConstants.MOZ_DEV_EDITION;
|
||||
if (isDevEdition) {
|
||||
var rootelem = this.document.documentElement;
|
||||
let rootelem = this.document.documentElement;
|
||||
rootelem.setAttribute('treestyletab-devedition', true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user