Revert attempt at deferring file selector

Reverts most of c44bbde511 which failed to remove the previous file uploader https://git.leftypol.org/leftypol/leftypol/issues/37
This commit is contained in:
discomrade 2021-11-11 09:42:03 -01:00
parent e6212c1a51
commit b3adcfe98b
2 changed files with 2 additions and 4 deletions

View file

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