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

Commit

Permalink
Fixed regression from previous push
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Feb 10, 2011
1 parent bd0bf9d commit e51af4e
Show file tree
Hide file tree
Showing 5 changed files with 12 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: Wed Feb 9 18:18:23 2011 +0000
* Date: Thu Feb 10 17:16:56 2011 +0000
*/

/* Fluid class for determining actual width in IE */
Expand Down
6 changes: 4 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: Wed Feb 9 18:18:23 2011 +0000
* Date: Thu Feb 10 17:16:56 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 @@ -798,6 +798,7 @@ function QTip(target, options, id, attr)
if('string' === typeof option) {
name = option; option = {}; option[name] = value;
}
else { option = $.extend(TRUE, {}, option); }

// Set all of the defined options to their new values
$.each(option, function(notation, value) {
Expand Down Expand Up @@ -1382,12 +1383,13 @@ QTIP = $.fn.qtip = function(options, notation, newValue)
if(event && event.timeStamp) { api.cache.event = event; }

// Call APIcommand
if((/option|set/).test(command) && notation) {
if(command === 'option' && notation) {
if($.isPlainObject(notation) || newValue !== undefined) {
api.set(notation, newValue);
}
else {
returned = api.get(notation);
return FALSE;
}
}

Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

0 comments on commit e51af4e

Please sign in to comment.