www

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

commit de1983bf9f5806c31d19d7411dfe73f2173fa519
parent fc104e345b59a45a6b69e5ad4a84a0b4037b645a
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  6 Mar 2013 06:19:27 -0500

Fix hover effect on unedited item tags (broken in 59913cc5)

Diffstat:
Mchrome/content/zotero/bindings/tagsbox.xml | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml @@ -215,7 +215,6 @@ icon.setAttribute('onclick','if (this.nextSibling.inputField){ this.nextSibling.inputField.blur() }'); var label = this.createValueElement(name, tabindex); - label.className = "zotero-box-label"; if (this.editable) { var remove = document.createElement("label"); @@ -260,6 +259,7 @@ var valueElement = document.createElement("label"); valueElement.setAttribute('fieldname', 'tag'); valueElement.setAttribute('flex', 1); + valueElement.className = 'zotero-box-label'; if (this.clickable) { valueElement.setAttribute('ztabindex', tabindex); @@ -270,7 +270,7 @@ } document.getBindingParent(this).clickHandler(this); }, false); - valueElement.className = 'zotero-clicky'; + valueElement.className += ' zotero-clicky'; } this._tabIndexMaxTagsFields = Math.max(this._tabIndexMaxTagsFields, tabindex);