Closed wxiaoguang closed 1 week ago
I hope this was sufficiently tested.
Hopefully so. Otherwise, the JS error happens in initRepoMilestone
.
Before there was no problem because old code used jQuery, it ignored non-existing elements.
But new code uses JS DOM, then the wrong CSS class causes wrong code execution.
Indeed, the CSS class is wrong, it shouldn't be there.
Otherwise milestone JS would run on this page and cause errors