diff --git a/mozilla/editor/ui/dialogs/content/EdImageMap.js b/mozilla/editor/ui/dialogs/content/EdImageMap.js index 717f04c2930..3426472d13a 100644 --- a/mozilla/editor/ui/dialogs/content/EdImageMap.js +++ b/mozilla/editor/ui/dialogs/content/EdImageMap.js @@ -110,24 +110,26 @@ function recreateMap(){ map = imageElement.getAttribute("usemap"); map = map.substring(1, map.length); mapCollection = imageElement.ownerDocument.getElementsByName(map); - areaCollection = mapCollection[0].childNodes; - var len = areaCollection.length; - for(j=0; j