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

Commit

Permalink
Small change to init method's .attr() call so it picks up oldtitle at…
Browse files Browse the repository at this point in the history
…tribute correctly
  • Loading branch information
Craga89 committed Jan 19, 2011
1 parent 731b9e6 commit d577196
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 38 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: Wed Jan 19 14:48:58 2011 +0000
* Date: Wed Jan 19 15:05:40 2011 +0000
*/

/* Fluid class for determining actual width in IE */
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: Wed Jan 19 14:48:58 2011 +0000
* Date: Wed Jan 19 15:05:40 2011 +0000
*/

"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 @@ -1299,8 +1299,8 @@ function init(id, opts)

// Setup missing content if none is detected
if('boolean' === typeof config.content.text) {
attr = $.attr(this, config.content.attr);
attr = elem.attr(config.content.attr);

// Grab from supplied attribute if available
if(config.content.attr !== FALSE && attr) { config.content.text = attr; }

Expand Down

0 comments on commit d577196

Please sign in to comment.