forked from e621ng/e621ng
[Uploads] Show the unload warning if any tags are filled in (#740)
This commit is contained in:
parent
46a89a1ddb
commit
a977c4ed47
@ -287,7 +287,7 @@
|
||||
}
|
||||
|
||||
function unloadWarning() {
|
||||
if (this.allowNavigate || this.uploadValue === "") {
|
||||
if (this.allowNavigate || (this.uploadValue === "" && this.tags === "")) {
|
||||
return;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user