HFP-2185 Treat major & minor version as int (not string)
parent
43b9703fc9
commit
e257e5ecff
|
@ -1657,8 +1657,8 @@ H5P.libraryFromString = function (library) {
|
||||||
if (res !== null) {
|
if (res !== null) {
|
||||||
return {
|
return {
|
||||||
'machineName': res[1],
|
'machineName': res[1],
|
||||||
'majorVersion': res[2],
|
'majorVersion': parseInt(res[2]),
|
||||||
'minorVersion': res[3]
|
'minorVersion': parseInt(res[3])
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue