diff --git a/js/h5p-library-list.js b/js/h5p-library-list.js index ba6d0ab..aeba889 100644 --- a/js/h5p-library-list.js +++ b/js/h5p-library-list.js @@ -50,7 +50,7 @@ var H5PLibraryList= H5PLibraryList || {}; if (library.upgradeUrl === null) { $('.h5p-admin-upgrade-library', $libraryRow).remove(); } - else if (library.upgradeUrl === false || library.numContent === '0') { + else if (library.upgradeUrl === false || library.numContent === 0) { $('.h5p-admin-upgrade-library', $libraryRow).attr('disabled', true); } else {