1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 13:28:11 +01:00

Fix opening of the error console when loading modules in Xulmus.

Songbird doesn't define window.toJavaScriptConsole.
This commit is contained in:
Doug Kearns
2009-07-01 18:57:15 +10:00
parent e57f63ff10
commit c5e4ab7ad1

View File

@@ -81,7 +81,7 @@ const liberator = (function () //{{{
catch (e) catch (e)
{ {
if (nError++ == 0) if (nError++ == 0)
window.toJavaScriptConsole(); toOpenWindowByType("global:console", "chrome://global/content/console.xul");
liberator.reportError(e); liberator.reportError(e);
} }
} }