Add kumos.
This commit is contained in:
parent
8a2c269d26
commit
964bd2e808
18 changed files with 427 additions and 23 deletions
|
|
@ -3,7 +3,7 @@ import { registerElementHint } from "./tips.js";
|
|||
const notificationBox = document.createElement('div');
|
||||
notificationBox.classList.add('notificationBox');
|
||||
|
||||
export async function showNotification(title, subtitle, time, hint) {
|
||||
export async function showNotification(title, subtitle, time = 5000, hint) {
|
||||
if (!hint) {
|
||||
hint = headeri18n.notificationDefaultHint;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue