Skip to content

Commit

Permalink
Merge pull request #316 from MohammedFCIS/master
Browse files Browse the repository at this point in the history
- Resolved alert title issues
  • Loading branch information
DivadNojnarg authored Sep 28, 2022
2 parents 8ba32ba + fb4efd8 commit 3b5c4bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inst/bs4Dash-2.1.0/bs4Dash.js
Original file line number Diff line number Diff line change
Expand Up @@ -933,11 +933,13 @@ $(function () {
default: console.warn(`${config.status} does not belong to allowed statuses!`)
}

closeButton = '';

if (config.closable) {
closeButton = '<button type="button" class="close" data-dismiss="alert" aria-hidden="true">x</button>'
}

titleTag = `<h5><i class="icon fa fa-${iconType}"></i></h5>`
titleTag = `<h5><i class="icon fa fa-${iconType}"></i>${config.title}</h5>`
contentTag = config.content;

alertTag = `<div
Expand Down

0 comments on commit 3b5c4bc

Please sign in to comment.