Shrink scope of a short-live variable

This commit is contained in:
YUKI "Piro" Hiroshi 2016-07-16 23:02:25 +09:00 committed by GitHub
parent 183cc904cc
commit fbbb09cddc

View File

@ -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);
}