Skip to content

Commit

Permalink
Fixed syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Cray committed May 13, 2011
1 parent 5920d4a commit 7e4b448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tooltipsy.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tooltipsy.source.js
Expand Up @@ -51,7 +51,7 @@

if (base.settings.alignTo == 'cursor') {
var tip_position = [e.pageX + base.settings.offset[0], e.pageY + base.settings.offset[1]];
if(tip_position[0] + base.width > $(window).width())) {
if(tip_position[0] + base.width > $(window).width()) {
var tip_css = {top: tip_position[1] + 'px', right: tip_position[0] + 'px', left: 'auto'};
}
else {
Expand Down

0 comments on commit 7e4b448

Please sign in to comment.