瀏覽代碼

fixed typo

Gildas 7 年之前
父節點
當前提交
98e9f84753
共有 1 個文件被更改,包括 1 次插入1 次删除
  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");
 				}
 			});
 		}