summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/js/display/display.js3
1 files changed, 1 insertions, 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;
}