From b32b5e3c00927ebb317fbf13af6500309d311599 Mon Sep 17 00:00:00 2001 From: Timon Ostertun Date: Sat, 26 Sep 2020 19:34:53 +0200 Subject: [PATCH] Fix toasts --- client/scripts/regatten.js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/regatten.js.php b/client/scripts/regatten.js.php index 25fcc02..b77bc1c 100644 --- a/client/scripts/regatten.js.php +++ b/client/scripts/regatten.js.php @@ -69,7 +69,7 @@ var updateBadge = function (name, val) { var makeToast = function (color, icon, text, time) { var id = 'snackbar' + randomId(); var delay = (time > 0 ? 'data-delay="' + time + '" data-autohide="true"' : 'data-autohide="false"'); - var div = '
'; + var div = '
'; div += '' + text + '
'; $('#page').append(div); $('#' + id).toast('show');