summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-30 04:59:36 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-30 04:59:36 +0200
commitbe23ad7213477500534a2546ca6ef139b23f0af9 (patch)
tree35ba66d172ac15b54f491b8e68c4f99ce898b13b /ext/mixed/js/display.js
parentff9510356e61f9548c5c773ac0f9d85f153ad714 (diff)
remove dead code
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 86780764..4d32377f 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -349,13 +349,6 @@ class Display {
this.setEventListenersActive(false);
- if (context.clearHistoryOnce) {
- delete context.clearHistoryOnce;
- if (this.context !== null) {
- this.context.details.context.next = null;
- }
- }
-
if (context.focus !== false) {
window.focus();
}
@@ -414,13 +407,6 @@ class Display {
this.setEventListenersActive(false);
- if (context.clearHistoryOnce) {
- delete context.clearHistoryOnce;
- if (this.context !== null) {
- this.context.details.context.next = null;
- }
- }
-
if (context.focus !== false) {
window.focus();
}