1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 07:17:58 +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)
{
if (nError++ == 0)
window.toJavaScriptConsole();
toOpenWindowByType("global:console", "chrome://global/content/console.xul");
liberator.reportError(e);
}
}