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();
|
this._setContentExtensionUnloaded();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
type = 'clear';
|
this._contentType = 'clear';
|
||||||
this._contentType = type;
|
|
||||||
this._clearContent();
|
this._clearContent();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user