multiple javascript error fixes
This commit is contained in:
parent
e525a46068
commit
68079d96a1
4 changed files with 19 additions and 21 deletions
|
@ -27,6 +27,7 @@ import itemHelper from '../../components/itemHelper';
|
|||
import Screenfull from 'screenfull';
|
||||
import globalize from '../../scripts/globalize';
|
||||
import ServerConnections from '../../components/ServerConnections';
|
||||
import profileBuilder from '../../scripts/browserDeviceProfile';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -140,9 +141,7 @@ function tryRemoveElement(elem) {
|
|||
}
|
||||
|
||||
function getDefaultProfile() {
|
||||
return import('../../scripts/browserDeviceProfile').then(({default: profileBuilder}) => {
|
||||
return profileBuilder({});
|
||||
});
|
||||
return profileBuilder({});
|
||||
}
|
||||
|
||||
export class HtmlVideoPlayer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue