From 5dbc284d53bf77ad259aed8108ffb931c72a9621 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 21 May 2022 17:54:57 -0400 Subject: Simplify assignment of _contentType = 'clear' (#2154) --- ext/js/display/display.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/js/display/display.js b/ext/js/display/display.js index 600df954..f9153420 100644 --- a/ext/js/display/display.js +++ b/ext/js/display/display.js @@ -637,8 +637,7 @@ class Display extends EventDispatcher { this._setContentExtensionUnloaded(); break; default: - type = 'clear'; - this._contentType = type; + this._contentType = 'clear'; this._clearContent(); break; } -- cgit v1.2.3