parent
3192f0fe19
commit
278586ef58
|
@ -1265,7 +1265,7 @@ H5P.MediaCopyright = function (copyright, labels, order, extraFields) {
|
||||||
// Check for version info
|
// Check for version info
|
||||||
var versionInfo;
|
var versionInfo;
|
||||||
if (copyrightLicense.versions) {
|
if (copyrightLicense.versions) {
|
||||||
if (copyrightLicense.versions.default && (!version || copyrightLicense.versions[version])) {
|
if (copyrightLicense.versions.default && (!version || !copyrightLicense.versions[version])) {
|
||||||
version = copyrightLicense.versions.default;
|
version = copyrightLicense.versions.default;
|
||||||
}
|
}
|
||||||
if (version && copyrightLicense.versions[version]) {
|
if (version && copyrightLicense.versions[version]) {
|
||||||
|
|
Loading…
Reference in New Issue