fix parsing number from string

This commit is contained in:
towards-a-new-leftypol 2021-07-03 19:58:24 -04:00
parent f4a785100d
commit de1f163ed2

View File

@ -193,5 +193,5 @@ $(document).ready(function () {
$(document).ready(function () { $(document).ready(function () {
var maxImages = document.querySelector("form[name=post]").dataset.maxImages; var maxImages = document.querySelector("form[name=post]").dataset.maxImages;
init_file_selector(new Number(maxImages)); init_file_selector(Number(maxImages));
}); });