Simplify assignment of _contentType = 'clear' (#2154)
This commit is contained in:
parent
8b1d4450f5
commit
5dbc284d53
@ -637,8 +637,7 @@ class Display extends EventDispatcher {
|
||||
this._setContentExtensionUnloaded();
|
||||
break;
|
||||
default:
|
||||
type = 'clear';
|
||||
this._contentType = type;
|
||||
this._contentType = 'clear';
|
||||
this._clearContent();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user