Merge pull request #895 from nicolasthy/patch-1

Fix IE10 split error
This commit is contained in:
Sam Potts 2018-04-14 14:47:57 +10:00 committed by GitHub
commit e138e6d51e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ const defaults = {
// Captions settings
captions: {
active: false,
language: window.navigator.language.split('-')[0],
language: window.navigator.language ? window.navigator.language.split('-')[0] : 'en',
},
// Fullscreen settings