Skip to content

Commit 7dcc914

Browse files
authored
Update SkinPage.ts
1 parent 17314b2 commit 7dcc914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ships/SkinPage/SkinPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class SkinPage {
7878

7979
checkCategories(doc: Document) {
8080
doc.querySelectorAll("article").forEach((tabber) => {
81-
const heading = tabber.getAttribute("title");
81+
const heading = tabber.getAttribute("data-title");
8282
if (!keepIfInEnum(heading, SkinCategories)) {
8383
throw new Error(`New or unknown skin category: ${heading}`);
8484
}

0 commit comments

Comments
 (0)