diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 35237aba..b4f1463e 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -2207,7 +2207,4 @@ catch(e) { TreeStyleTabService.__proto__ = TreeStyleTabService.utils = namespace.TreeStyleTabUtils; TreeStyleTabService.utils.init(); })(); -window.addEventListener('DOMContentLoaded', TreeStyleTabService, true); -window.addEventListener('load', TreeStyleTabService, false); -TreeStyleTabService.ObserverService.addObserver(TreeStyleTabService, 'sessionstore-windows-restored', false); diff --git a/content/treestyletab/treestyletab.xul b/content/treestyletab/treestyletab.xul index 27597e7b..ba0572e4 100644 --- a/content/treestyletab/treestyletab.xul +++ b/content/treestyletab/treestyletab.xul @@ -11,6 +11,11 @@