Skip to content

Commit

Permalink
Fix #100 Bootstrap 4.3.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Feb 15, 2019
1 parent 304ba0b commit a12094c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="col-md-12 col-lg-10 offset-lg-1">
<div class="page-header">
<a class="float-right" href="https://github.com/mistic100/Bootstrap-Confirmation">
<img src="https://assets.github.com/images/icons/emoji/octocat.png" width=48px height=48px>
<img src="https://discordemoji.com/assets/emoji/5643_github_octocat.png" width=48px height=48px>
</a>
<h1>Bootstrap Confirmation</h1>
</div>
Expand Down
4 changes: 4 additions & 0 deletions src/confirmation.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ const Default = {
// @formatter:on
};

if (Default.whiteList) {
Default.whiteList['*'].push('data-apply', 'data-dismiss');
}

const ClassName = {
FADE: 'fade',
SHOW: 'show',
Expand Down

0 comments on commit a12094c

Please sign in to comment.