From be23ad7213477500534a2546ca6ef139b23f0af9 Mon Sep 17 00:00:00 2001 From: siikamiika Date: Sat, 30 Nov 2019 04:59:36 +0200 Subject: remove dead code --- ext/mixed/js/display.js | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'ext/mixed/js') 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(); } -- cgit v1.2.3