fix parsing number from string

This commit is contained in:
towards-a-new-leftypol 2021-07-03 19:58:24 -04:00
parent 5b6233f187
commit 0530209d87
1 changed files with 1 additions and 1 deletions

View File

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