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

Get rid of the 'jsdebugger' completion message on FF4.

This commit is contained in:
Kris Maglione
2010-09-23 08:49:49 -04:00
parent 0a52ebfc19
commit db2a6ba0a3

View File

@@ -309,7 +309,7 @@ const JavaScript = Module("javascript", {
_complete: function (objects, key, compl, string, last) { _complete: function (objects, key, compl, string, last) {
const self = this; const self = this;
if (!options["jsdebugger"] && !this.context.message) if (!window.Object.getOwnPropertyNames && !options["jsdebugger"] && !this.context.message)
this.context.message = "For better completion data, please enable the JavaScript debugger (:set jsdebugger)"; this.context.message = "For better completion data, please enable the JavaScript debugger (:set jsdebugger)";
let orig = compl; let orig = compl;