mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 18:58:28 +00:00
utils: fix typo in showAlert()
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -101,7 +101,7 @@ function showAlert(type, icon, title, message, toast) {
|
||||
};
|
||||
switch (type) {
|
||||
case "info":
|
||||
options.icon = icon !== null && icon.len > 0 ? icon : "fas fa-clock";
|
||||
options.icon = icon !== null && icon.length > 0 ? icon : "fas fa-clock";
|
||||
|
||||
break;
|
||||
case "success":
|
||||
|
||||
Reference in New Issue
Block a user