mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 09:37: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:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user