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) {