aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display.js
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2024-01-13 11:58:48 +0700
committerGitHub <noreply@github.com>2024-01-13 04:58:48 +0000
commit36c40ff671ae1f8a05aac77c8694e9bccdda85fb (patch)
tree4bebcaf1659dfb44e25ee60785dbc512aedf3629 /ext/js/display/display.js
parent60276d41ffd90044acc2f95e70b9b0c9a770417a (diff)
type updates (#500)
* type updates * remove comments * fix comment * remove types
Diffstat (limited to 'ext/js/display/display.js')
-rw-r--r--ext/js/display/display.js2
1 files changed, 1 insertions, 1 deletions
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;