Remove redundant cancel icon in tag selector search box in Fx3.5+

This commit is contained in:
Dan Stillman 2010-02-02 10:31:29 +00:00
parent 48087132d8
commit e8e03f9e62

View File

@ -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);