fix non disappearing persistent toast

This commit is contained in:
zadam
2019-10-28 20:26:40 +01:00
parent 5bba18191f
commit c4d5060a0b
5 changed files with 15 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ function toast(options) {
}
function showPersistent(options) {
let $toast = $("#toast-" + options.id);
let $toast = $("#toast-persistent-" + options.id);
if ($toast.length > 0) {
$toast.find('.toast-body').html(options.message);