commit e8e03f9e62620c1214a68239ebc2ce66019067aa parent 48087132d835a7f8af0aba63d3d2e2b99a014e48 Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 2 Feb 2010 10:31:29 +0000 Remove redundant cancel icon in tag selector search box in Fx3.5+ Diffstat:
| M | chrome/content/zotero/bindings/tagselector.xml | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml @@ -552,9 +552,11 @@ var textbox = this.id('tags-search'); var t = textbox.inputField; - textbox.firstChild.hidden = (t.value == ""); + if (Zotero.isFx30) { + textbox.firstChild.hidden = (t.value == ""); + } - if (clear != undefined){ + if (typeof clear != 'undefined') { if (clear){ t.value = ''; this.setFilterTags(false);