From fbbb09cddc87343270d753293133cabba756c6e6 Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Sat, 16 Jul 2016 23:02:25 +0900 Subject: [PATCH] Shrink scope of a short-live variable --- modules/window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/window.js b/modules/window.js index bbc7bfb4..1a352e76 100644 --- a/modules/window.js +++ b/modules/window.js @@ -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); }