From b1b886d27d380fb3641c3041eba35abf2dadceac Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Tue, 29 Sep 2015 03:47:29 +0900 Subject: [PATCH] Suppress error on window closing --- content/treestyletab/content-utils-autohide.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/content-utils-autohide.js b/content/treestyletab/content-utils-autohide.js index f5e20e2c..af4ed485 100644 --- a/content/treestyletab/content-utils-autohide.js +++ b/content/treestyletab/content-utils-autohide.js @@ -38,7 +38,7 @@ } var messageListener = function(aMessage) { - mydump('CONTENT MESSAGE LISTENED <'+global.content.location+'>'); + mydump('CONTENT MESSAGE LISTENED <'+(global.content && global.content.location)+'>'); mydump(JSON.stringify(aMessage.json)); switch (aMessage.json.command) {