Skip to content
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

Commit ebbd8d4

Browse files
committed
fix: same constructor lead to error
1 parent d34c758 commit ebbd8d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jehon-img-loading.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,7 @@ class JehonImgLoading extends HTMLElement {
8888
}
8989
}
9090

91+
class JehonImageLoading extends JehonImgLoading { }
92+
9193
customElements.define('jehon-img-loading', JehonImgLoading);
92-
customElements.define('jehon-image-loading', JehonImgLoading);
94+
customElements.define('jehon-image-loading', JehonImageLoading);

0 commit comments

Comments
 (0)