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

Commit

Permalink
Fixed problem with set() and content.ajax
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Feb 8, 2011
1 parent 630a22e commit 75abd09
Show file tree
Hide file tree
Showing 6 changed files with 14 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: Sat Feb 5 23:05:34 2011 +0000
* Date: Tue Feb 8 23:07:43 2011 +0000
*/

/* Fluid class for determining actual width in IE */
Expand Down
7 changes: 5 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: Sat Feb 5 23:05:34 2011 +0000
* Date: Tue Feb 8 23:07:43 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 @@ -169,7 +169,7 @@ function QTip(target, options, id, attr)
// Loop through
for(i = 1; i < actual.length; i+=1) {
obj = option[ actual[i] ];
if(typeof obj === 'object' && !obj.jquery && !obj.precedance) {
if(typeof obj === 'object' && !obj.jquery && !obj.precedance && !obj.url) {
option = option[ actual[i] ];
}
else { break; }
Expand Down Expand Up @@ -1699,6 +1699,9 @@ QTIP.defaults = {
else if(opts && opts.url) {
self.load();
}
else {
self.destroy();
}
}
};

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 dist/jquery.qtip.pack.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/ajax.js
Expand Up @@ -14,6 +14,9 @@ function Ajax(api)
else if(opts && opts.url) {
self.load();
}
else {
self.destroy();
}
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -127,7 +127,7 @@ function QTip(target, options, id, attr)
// Loop through
for(i = 1; i < actual.length; i+=1) {
obj = option[ actual[i] ];
if(typeof obj === 'object' && !obj.jquery && !obj.precedance) {
if(typeof obj === 'object' && !obj.jquery && !obj.precedance && !obj.url) {
option = option[ actual[i] ];
}
else { break; }
Expand Down

0 comments on commit 75abd09

Please sign in to comment.