Skip to content

Commit

Permalink
Popup: add safelyBlur() method\n\nFixes jquery-archive#7533
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluca committed Oct 9, 2014
1 parent f8f465c commit e44ba48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/widgets/popup.js
Expand Up @@ -633,8 +633,7 @@ $.widget( "mobile.popup", {

_safelyBlur: function( currElement ){
if ($( currElement ) !== this.window[ 0 ] && currElement.nodeName.toLowerCase() !== "body") {
$( currElement ).blur();
}
$( currElement ).blur();
}
},

Expand Down

0 comments on commit e44ba48

Please sign in to comment.