HFP-2185 Treat major & minor version as int (not string)

HFP-2095-Fix-table-styling
Paal Joergensen 2018-09-10 11:30:57 +02:00
parent 43b9703fc9
commit e257e5ecff
1 changed files with 2 additions and 2 deletions

View File

@ -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 {