From e8e03f9e62620c1214a68239ebc2ce66019067aa Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 2 Feb 2010 10:31:29 +0000 Subject: [PATCH] Remove redundant cancel icon in tag selector search box in Fx3.5+ --- 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 index 812d58d279..bf19f57b0d 100644 --- 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);