mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-04 16:15:25 +00:00
Bug 309061 msgHdrViewOverlay.js should use hasChildNodes
p=me r/sr=neil.parkwaycc.co.uk
This commit is contained in:
parent
42cd906430
commit
7435eb0f18
@ -1332,8 +1332,8 @@ function ClearAttachmentList()
|
||||
var list = document.getElementById('attachmentList');
|
||||
list.clearSelection();
|
||||
|
||||
while (list.childNodes.length)
|
||||
list.removeItemAt(list.childNodes.length - 1);
|
||||
while (list.hasChildNodes())
|
||||
list.removeChild(list.lastChild);
|
||||
}
|
||||
|
||||
function ShowEditMessageButton()
|
||||
|
Loading…
Reference in New Issue
Block a user