reddit-moderator-toolbox-legacy
reddit-moderator-toolbox-legacy copied to clipboard
Allow resorting of removal reasons, macros and shortcuts.
All of them are objects and we simply use the order in which things are put into that object.
Basically something as far as UI goes like this https://jqueryui.com/sortable/ But then of course having effect on the object itself.
I am not entirely sure what would be the most easy way to do so but I'll get on that.
Just realized reasons are actually an array within the object, possibly making it all easier.
Actually, they are objects within an array. :p
Well actually it is a object which contains an array which contains the removal reason objects :P
In any case it is the array that needs sorting.
You're very clever, young man, but it's no use -- it's turtles all the way down.