diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 6da27baf..4d9a7e27 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -636,8 +636,8 @@ var TreeStyleTabService = { '{ TreeStyleTabService.onPrintPreviewEnter();' )); eval('PrintUtils.exitPrintPreview = '+PrintUtils.exitPrintPreview.toSource().replace( - /(\}\)?)$/, - 'TreeStyleTabService.onPrintPreviewExit(); $1' + '{', + '{ TreeStyleTabService.onPrintPreviewExit();' )); }