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

Commit

Permalink
Updated qtip() call check for no arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Sep 14, 2010
1 parent 01dd9f4 commit f5e9b94
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.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 Sep 14 17:55:57 2010 +0100
* Date: Tue Sep 14 18:03:44 2010 +0100
*/

.ui-tooltip-accessible{
Expand Down
4 changes: 2 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 Sep 14 17:55:57 2010 +0100
* Date: Tue Sep 14 18:03:44 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 @@ -1160,7 +1160,7 @@ $.fn.qtip = function(options, notation, newValue)
targets;

// Check for API request
if((!options && $(this).data('qtip')) || command === 'api') {
if((!args.length && $(this).data('qtip')) || command === 'api') {
opts = $(this).eq(0).data('qtip');
return opts ? opts.hash() : undefined;
}
Expand Down
6 changes: 3 additions & 3 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 f5e9b94

Please sign in to comment.