Skip to content

Commit

Permalink
fix: report int text
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrikeasia committed Aug 15, 2024
1 parent fdc17b3 commit ee36795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function report(t, retryCount = 0) {

const IntWrapper = CreatEle("", "report-list-item-int-wrapper");
const Int = CreatEle(
s ? s.max : FirstItem.int,
intensity_list[s ? s.max : FirstItem.int],
`report-list-item-int intensity-${s ? s.max : FirstItem.int}`
);
const IntTitle = CreatEle("觀測最大震度", "report-list-item-int-title");
Expand Down Expand Up @@ -139,7 +139,7 @@ async function report(t, retryCount = 0) {
"data-report-id": item.id,
});
const IntItem = CreatEle(
item.int,
intensity_list[item.int],
`report-list-item-int intensity-${item.int}`
);
const InfoItem = CreatEle("", "report-list-item-info");
Expand Down

0 comments on commit ee36795

Please sign in to comment.