stricter nulls

This commit is contained in:
Shish
2023-06-27 17:45:35 +01:00
parent eca49bfc94
commit 8fb6fd5f54
18 changed files with 21 additions and 25 deletions

View File

@@ -190,7 +190,7 @@ class UploadTheme extends Themelet
}
else {
var tags = prompt("Please enter tags", "tagme");
if(tags != "" && tags != null) {
if(tags !== "" && tags !== null) {
var link = "'. $link . $delimiter .'url="+location.href+"&tags="+tags;
var w = window.open(link, "_blank");
}