From 36c40ff671ae1f8a05aac77c8694e9bccdda85fb Mon Sep 17 00:00:00 2001 From: Cashew <52880648+Scrub1492@users.noreply.github.com> Date: Sat, 13 Jan 2024 11:58:48 +0700 Subject: type updates (#500) * type updates * remove comments * fix comment * remove types --- ext/js/display/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/js/display/display.js') diff --git a/ext/js/display/display.js b/ext/js/display/display.js index cae394f8..ff77d203 100644 --- a/ext/js/display/display.js +++ b/ext/js/display/display.js @@ -480,7 +480,7 @@ export class Display extends EventDispatcher { case 'overwrite': this._history.replaceState(state, content, url); break; - default: // 'new' + case 'new': this._updateHistoryState(); this._history.pushState(state, content, url); break; -- cgit v1.2.3