mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 06:32:29 +02:00
display an error message when :dialog dominspector is called if the DOM
Inspector extension is not installed
This commit is contained in:
1 parent
b9b8e6ea24
commit
0bf8f8e086
1 file changed
+1
-1
@@ -62,7 +62,7 @@ liberator.config = { //{{{
|
||||
["customizetoolbar", "Customize the Toolbar",
|
||||
function () { BrowserCustomizeToolbar(); }],
|
||||
["dominspector", "DOM Inspector",
|
||||
function () { inspectDOMDocument(content.document); }],
|
||||
function () { try { inspectDOMDocument(content.document); } catch (e) { liberator.echoerr("DOM Inspector extension not installed"); } }],
|
||||
["downloads", "Manage Downloads",
|
||||
function () { toOpenWindowByType('Download:Manager', 'chrome://mozapps/content/downloads/downloads.xul', 'chrome,dialog=no,resizable'); }],
|
||||
["history", "List your history",
|
||||
|
||||
Reference in new issue
Block a user