fix parsing number from string
This commit is contained in:
parent
5b6233f187
commit
0530209d87
|
@ -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));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue