forked from leftypol/leftypol
fix parsing number from string
This commit is contained in:
parent
f4a785100d
commit
de1f163ed2
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue