mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 07:22:27 +01:00
display an error message when :dialog dominspector is called if the DOM
Inspector extension is not installed
This commit is contained in:
@@ -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