Change debug warn 'Unsupported language option' to log 'Language option doesn't yet exist' since it doesn't have to be an error

This commit is contained in:
Albin Larsson 2018-06-08 13:45:20 +02:00
parent a80b31bf98
commit b57784d1a5

View File

@ -874,7 +874,7 @@ class Plyr {
// Check for support
if (!this.options.captions.includes(language)) {
this.debug.warn(`Unsupported language option: ${language}`);
this.debug.log(`Language option: ${language} doesn't yet exist`);
return;
}