Skip to content

Commit

Permalink
fallback to centered when triggered element is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
HTMLGuyLLC committed Mar 26, 2019
1 parent bef30b9 commit ff9db01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jConfirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
if( helper.dom_wrapped.length === 0 || !helper.dom_wrapped.is(":visible") )
{
helper.position = 'auto';
return ['none', 0, tooltip_width, tooltip_height, 'undefined'];
return ['none', 0, tooltip_width, tooltip_height];
}

//get position + size of clicked element
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jconfirm",
"version": "4.4.3",
"version": "4.4.4",
"description": "jQuery confirmation tooltip plugin",
"repository": {
"type": "git",
Expand Down

0 comments on commit ff9db01

Please sign in to comment.