Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include.postload.js

Issue 5509249400569856: Issue 2115 - Fixed a typo breaking "Block element" functionality when encountering image maps (Closed)
Patch Set: Created March 10, 2015, 5:31 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld