Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow input[type=image] as well

  • Loading branch information...
commit 4d1456a8c7b451a0358e98e8f653fb25a4afb6ff 1 parent 60eff6a
@kemayo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jquery.maphilight.js
View
2  jquery.maphilight.js
@@ -211,7 +211,7 @@
map = $('map[name="'+usemap.substr(1)+'"]');
- if(!(img.is('img') && usemap && map.size() > 0)) {
+ if(!(img.is('img,input[type="image"]') && usemap && map.size() > 0)) {
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.