Index: include.postload.js |
=================================================================== |
--- a/include.postload.js |
+++ b/include.postload.js |
@@ -395,7 +395,7 @@ |
for (var i = 0; i < images.length; i++) |
{ |
- var usemap = image.getAttribute("usemap"); |
+ var usemap = images[i].getAttribute("usemap"); |
var index = usemap.indexOf("#"); |
if (index != -1 && usemap.substr(index + 1) == element.name) |