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

Commit

Permalink
Fixed issue with tips plugin calling self.mimic.string() when self.mi…
Browse files Browse the repository at this point in the history
…mic wasn't defined
  • Loading branch information
Craga89 committed Aug 17, 2010
1 parent 8be801d commit a6c7243
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
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: Tue Aug 17 19:20:52 2010 +0100
* Date: Tue Aug 17 19:25:35 2010 +0100
*/

.ui-tooltip-accessible{
Expand Down
5 changes: 3 additions & 2 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: Tue Aug 17 19:20:52 2010 +0100
* Date: Tue Aug 17 19:25:35 2010 +0100
*/

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
Expand Down Expand Up @@ -1662,7 +1662,8 @@ function Tip(qTip, command)
{
// Check if rendering method is possible and if not fall back
if(method === TRUE) {
method = $('<canvas />')[0].getContext ? 'canvas' : $.browser.msie && ((/center/i).test(self.mimic.string()) || size.height !== size.width) ? 'vml' : 'polygon';
method = $('<canvas />')[0].getContext ? 'canvas' :
$.browser.msie && (self.mimic && ((/center/i).test(self.mimic.string())) || size.height !== size.width) ? 'vml' : 'polygon';
}
else {
if(method === 'canvas') {
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a6c7243

Please sign in to comment.