Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Fixed IE6/7 imagemap plugin issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Nov 24, 2011
1 parent af8d88c commit 92bb74f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.qtip.basic.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Mon Nov 21 17:39:37 2011 +0000
* Date: Mon Nov 21 21:18:24 2011 +0000
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Mon Nov 21 17:39:37 2011 +0000
* Date: Mon Nov 21 21:18:24 2011 +0000
*/

/* Core qTip styles */
Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.qtip.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Mon Nov 21 17:39:37 2011 +0000
* Date: Mon Nov 21 21:18:24 2011 +0000
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down Expand Up @@ -2172,8 +2172,8 @@ PLUGINS.imagemap = function(area, corner, flip)
{
if(!area.jquery) { area = $(area); }

var shape = area.attr('shape').toLowerCase(),
baseCoords = area.attr('coords').split(','),
var shape = (area[0].shape || area.attr('shape')).toLowerCase(),
baseCoords = (area[0].coords || area.attr('coords')).split(','),
coords = [],
image = $('img[usemap="#'+area.parent('map').attr('name')+'"]'),
imageOffset = image.offset(),
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/imagemap/imagemap.js
Expand Up @@ -2,8 +2,8 @@ PLUGINS.imagemap = function(area, corner, flip)
{
if(!area.jquery) { area = $(area); }

var shape = area.attr('shape').toLowerCase(),
baseCoords = area.attr('coords').split(','),
var shape = (area[0].shape || area.attr('shape')).toLowerCase(),
baseCoords = (area[0].coords || area.attr('coords')).split(','),
coords = [],
image = $('img[usemap="#'+area.parent('map').attr('name')+'"]'),
imageOffset = image.offset(),
Expand Down

0 comments on commit 92bb74f

Please sign in to comment.