Gildas 7 tahun lalu
induk
melakukan
98e9f84753
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -292,7 +292,7 @@ this.SingleFileCore = (() => {
 				if (srcset && imgElement.srcset != srcset) {
 					imgElement.srcset = srcset;
 					imgElement.removeAttribute("data-srcset");
-					element.removeAttribute("data-lazyload");
+					imgElement.removeAttribute("data-lazyload");
 				}
 			});
 		}