www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit e1edcb358a5254a6520dba653221a88633989660
parent 013b080ca5d37b5fee36b8c44d2ce5b6cfd9fa4e
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat, 26 May 2012 19:13:03 -0400

Fix unescape for blank strings

Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -364,7 +364,7 @@ Zotero.Utilities = { } else { var node = document.createElement("div"); node.innerHTML = str; - return (node.innerText ? node.innerText : node.textContent); + return ("innerText" in node ? node.innerText : node.textContent); } },