Browse Source

fix parsing number from string

pull/40/head
towards-a-new-leftypol 3 years ago
parent
commit
0530209d87
  1. 2
      js/file-selector.js

2
js/file-selector.js

@ -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…
Cancel
Save