Merge branch 'legacy' of github.com:PhoenixTwoFive/karaoqueue into legacy

This commit is contained in:
Phillip Kühne 2023-04-28 13:41:51 +02:00
commit 1faa2614fa
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA

View File

@ -169,7 +169,11 @@
} }
function getOwnedEntries() { function getOwnedEntries() {
return JSON.parse(localStorage.getItem("ownedEntries")) var entries = JSON.parse(localStorage.getItem("ownedEntries"))
if (entries == null) {
entries = []
}
return entries;
} }
</script> </script>