mirror of
https://github.com/Radiquum/photos.git
synced 2025-06-05 09:09:35 +05:00
feat/admin: finished home page ui
This commit is contained in:
parent
a80947d892
commit
5e3116d46f
4 changed files with 406 additions and 14 deletions
admin/templates
|
@ -94,7 +94,7 @@
|
|||
tagInp.addEventListener('input', (e) => {
|
||||
if (e.target.value.includes(',')) {
|
||||
const tag = e.target.value.split(',')[0].trim().replaceAll(" ", "_").toLowerCase();
|
||||
if (tags.includes(tag)) {
|
||||
if (tags.includes(tag) || !tag) {
|
||||
tagInp.value = '';
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue