diff --git a/js/animations/timeline.js b/js/animations/timeline.js index 37da98e8..5cbb5e5c 100644 --- a/js/animations/timeline.js +++ b/js/animations/timeline.js @@ -760,7 +760,7 @@ Interface.definePanels(() => { let height = this.graph_offset - this.graph_size * value; lines.push({ position: height, - label: value, + label: Math.round(value), path: `M0 ${height} L10000 ${height}` }); }) diff --git a/js/boot_loader.js b/js/boot_loader.js index f40bb9a5..048d9ee6 100644 --- a/js/boot_loader.js +++ b/js/boot_loader.js @@ -98,6 +98,17 @@ if (Blockbench.startup_count == 1) { console.error(err); } } +if (Blockbench.startup_count == 3) { + try { + jQuery.ajax({ + url: 'https://blckbn.ch/api/event/recurring_user', + type: 'POST', + data: {} + }) + } catch (err) { + console.error(err); + } +} Blockbench.on('before_closing', (event) => { if (!Blockbench.hasFlag('no_localstorage_saving')) {