Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

Commit

Permalink
Fixing compatibility issue with IE with removeAttr
Browse files Browse the repository at this point in the history
  • Loading branch information
IfnotFr committed Apr 21, 2015
1 parent a07b688 commit 623515d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.popconfirm.js
@@ -1,5 +1,5 @@
/*!
* PopConfirm 0.4.2
* PopConfirm 0.4.3
* http://ifnot.github.io/PopConfirm/
*
* Use jQuery & Bootstrap
Expand Down Expand Up @@ -85,7 +85,7 @@
arrayActions.push(function () {
eval(code);
});
$(self).removeAttr('onclick');
$(self).prop("onclick", null);
}

// If there are href link defined
Expand Down

0 comments on commit 623515d

Please sign in to comment.