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

Commit

Permalink
Minor adjustments to checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Jan 2, 2011
1 parent 0b2fd65 commit 2c06bce
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 24 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: Sun Jan 2 04:26:53 2011 +0000
* Date: Sun Jan 2 04:31:23 2011 +0000
*/

.ui-tooltip-accessible{
Expand Down
9 changes: 5 additions & 4 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: Sun Jan 2 04:26:53 2011 +0000
* Date: Sun Jan 2 04:31:23 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 @@ -788,7 +788,7 @@ function QTip(target, options, id)
},

// Update position on ANY style update or position change
'^position.(my|at|adjust|target|container)|style': function(){
'^position.(my|at|adjust|target|container)|style|content': function(){
self.reposition();
}
}
Expand Down Expand Up @@ -1760,9 +1760,10 @@ function Tip(qTip, command)

var isTitleTop = elems.titlebar && corner.y === 'top',
elem = isTitleTop ? elems.titlebar : elems.content,
css = 'border-' + side + '-width';
css = 'border-' + side + '-width',
val = parseInt(elem.css(css), 10);

return parseInt(elem.css(css), 10) || parseInt(backup ? tooltip.css(css) : 0, 10) || 0;
return (backup ? val || parseInt(tooltip.css(css), 10) : val) || 0;
}


Expand Down

0 comments on commit 2c06bce

Please sign in to comment.