diff --git a/jquery.maphilight.js b/jquery.maphilight.js
index <HASH>..<HASH> 100755
--- a/jquery.maphilight.js
+++ b/jquery.maphilight.js
@@ -159,7 +159,7 @@
 			// jquery1.8 + ie7 
 			var $html = $("<div>" + canvas.innerHTML + "</div>");
 			$html.children('[name=highlighted]').remove();
-			canvas.innerHTML = $html.html();
+			$(canvas).html($html.html());
 		};
 	}
Bugfix for "unknown runtime error" in IE 7/8