Skip to content

Commit 301c98c

Browse files
committed
hofix: now history after page reloading processing correctly
1 parent 91d0fb0 commit 301c98c

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

httpd/static/index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -750,15 +750,16 @@ <h3 class="history-title">История введенных данных</h3>
750750
3,
751751
"point-on-graph"
752752
);
753+
history.addHistoryItem(
754+
new Date(elem.timestamp).toISOString(),
755+
elem.elapsedTimeNs,
756+
elem.x,
757+
elem.y,
758+
elem.r,
759+
elem.isInsideArea
760+
)
753761
});
754-
history.addHistoryItem(
755-
new Date(elem.timestamp).toISOString(),
756-
elem.elapsedTimeNs,
757-
elem.x,
758-
elem.y,
759-
elem.r,
760-
elem.isInsideArea
761-
)
762+
762763
},
763764
result => {errorHandler(result)}
764765
);

0 commit comments

Comments
 (0)