Simplify assignment of _contentType = 'clear' (#2154)

This commit is contained in:
toasted-nutbread 2022-05-21 17:54:57 -04:00 committed by GitHub
parent 8b1d4450f5
commit 5dbc284d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -637,8 +637,7 @@ class Display extends EventDispatcher {
this._setContentExtensionUnloaded();
break;
default:
type = 'clear';
this._contentType = type;
this._contentType = 'clear';
this._clearContent();
break;
}