diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index ad6c14de..72ab3add 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -3583,7 +3583,7 @@ TreeStyleTabBrowser.prototype = { // for backward compatibility event = document.createEvent('Events'); - event.initEvent(this.kEVENT_TYPE_DETACHED.replpace(/^nsDOM/, ''), true, false); + event.initEvent(this.kEVENT_TYPE_DETACHED.replace(/^nsDOM/, ''), true, false); event.parentTab = parentTab; aChild.dispatchEvent(event);