Skip to content

Commit

Permalink
Update bootbox.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tiesont authored Sep 28, 2020
1 parent eb3466e commit ccb189d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@
}
//make sure backdrop is either true/false/static
if (!options.backdrop) {
options.backdrop ? (options.backdrop === false || options.backdrop === 0) ? false : static;
options.backdrop = (options.backdrop === false || options.backdrop === 0) ? false : 'static';
} else {
options.backdrop = typeof options.backdrop === 'string' && options.backdrop.toLowerCase() === 'static' ? 'static' : true;
}
Expand Down

0 comments on commit ccb189d

Please sign in to comment.