stats.js: update for new popup

45ef4b60c97f71dac2525a533364820f74969497

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -2Showing whitespace changes
public/scripts/stats.js+3 -2
@@ -1,7 +1,8 @@
11// statsHelper.js
22import { moment } from '../lib.js';
33import { getRequestHeaders, callPopup, characters, this_chid } from '../script.js';
44import { humanizeGenTime } from './RossAscends-mods.js';
5+import { callGenericPopup, POPUP_TYPE } from './popup.js';
56import { registerDebugFunction } from './power-user.js';
67
78let charStats = {};
@@ -123,7 +124,7 @@ function createHtml(statsType, stats) {
123124 html += createStatBlock('Character Words', stats.non_user_word_count);
124125 html += createStatBlock('Swipes', stats.total_swipe_count);
125126
126127 callPopupreturn callGenericPopup(html, 'text'POPUP_TYPE.TEXT);
127128}
128129
129130/**