diff options
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r-- | lib/libbugzilla.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index d30a025..196dbbe 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -218,10 +218,10 @@ exports.getURL = function getURL(url, callback) { exports.openStringInNewPanel = function openStringInNewPanel(inHTMLStr) { openURLInNewPanel("data:text/html;charset=utf-8," + - dataUtils.base64Encode(inHTMLStr)); + inHTMLStr); }; -exports.openURLInNewPanel = function openURLInNewPanel(url) { +var openURLInNewPanel = exports.openURLInNewPanel = function openURLInNewPanel(url) { var panel = panelMod.Panel({ contentURL: url, width: 640, @@ -230,7 +230,7 @@ exports.openURLInNewPanel = function openURLInNewPanel(url) { panel.show(); }; -exports.openURLInNewTab = function openURLInNewTab(url) { +var openURLInNewTab = exports.openURLInNewTab = function openURLInNewTab(url) { tabs.open({ url: url, inBackground: true, |