Improved EditForm

This commit is contained in:
2018-03-09 16:08:35 +01:00
parent e0dc3f2f93
commit 49b887a201
4 changed files with 90 additions and 2 deletions

View File

@ -515,7 +515,7 @@ export class AnimeNotifier {
let extension = ""
// Replace URL with WebP if supported
if(this.webpEnabled && element.dataset.webp) {
if(this.webpEnabled && element.dataset.webp === "true") {
let queryPos = dataSrc.lastIndexOf("?")
if(queryPos !== -1) {