1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 19:44:12 +01:00

Fix :js context on Minefield.

This commit is contained in:
Kris Maglione
2011-09-17 00:08:02 -04:00
parent 423767238b
commit 057600d780
7 changed files with 66 additions and 20 deletions

View File

@@ -717,7 +717,7 @@ var JavaScript = Module("javascript", {
try {
var result = dactyl.userEval(js, this.context);
var xml = util.objectToString(result, true);
var xml = result === undefined ? "" : util.objectToString(result, true);
}
catch (e) {
util.reportError(e);