зеркало из https://github.com/mozilla/gecko-dev.git
Bug 300607, label with both src and inline content show both r=doron+aaronr, a=mkaply, NPOTB
This commit is contained in:
Родитель
5d2270e890
Коммит
1482a3a520
|
@ -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");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче