Updating naming of alert variables

This commit is contained in:
Michał Gdula 2022-09-27 21:39:02 +00:00
parent e4c59ba7f0
commit 0e23bfffb6
12 changed files with 147 additions and 109 deletions

View file

@ -18,7 +18,7 @@
if (!$user_info->is_loggedin()) {
?>
<script>
sniffleAdd('Who are you!', 'You must be loggedin to upload things, sowwy!', 'var(--red)', 'assets/icons/cross.svg');
sniffleAdd('Who are you!', 'You must be loggedin to upload things, sowwy!', 'var(--alert)', 'assets/icons/cross.svg');
</script>
<?php
}
@ -90,7 +90,7 @@
$("#tags").val("");
$("#submit").val("");
} else {
sniffleAdd('Gwha!', 'Pls provide image', 'var(--red)', 'assets/icons/file-search.svg');
sniffleAdd('Gwha!', 'Pls provide image', 'var(--warning)', 'assets/icons/file-search.svg');
}
});
</script>