diff --git a/chrome/content/zotero/runJS.html b/chrome/content/zotero/runJS.html index 5b2a9bce52..cae1491507 100644 --- a/chrome/content/zotero/runJS.html +++ b/chrome/content/zotero/runJS.html @@ -1,5 +1,6 @@ + Run JavaScript diff --git a/chrome/content/zotero/runJS.js b/chrome/content/zotero/runJS.js index 77d2853594..04eb32a817 100644 --- a/chrome/content/zotero/runJS.js +++ b/chrome/content/zotero/runJS.js @@ -25,7 +25,7 @@ async function run() { } catch (e) { resultTextbox.classList.add('error'); - resultTextbox.value = e; + resultTextbox.textContent = e; return; } resultTextbox.classList.remove('error');