Bug 300607, label with both src and inline content show both r=doron+aaronr, a=mkaply, NPOTB

This commit is contained in:
Olli.Pettay%helsinki.fi 2005-07-13 20:09:00 +00:00
Родитель 5d2270e890
Коммит 1482a3a520
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -129,8 +129,8 @@
var anoncontent =
document.getAnonymousElementByAttribute(this, "anonid", "anoncontent");
if (this.delegate.hasBoundNode) {
anoncontent.setAttribute("style", "display:none");
if (this.delegate.hasBoundNode || this.delegate.value != null) {
anoncontent.setAttribute("style", "display:none;");
} else {
anoncontent.removeAttribute("style");
}