view_mail.js: add helper function for select/deselect
authorArt Cancro <ajc@citadel.org>
Wed, 28 Jun 2023 00:45:50 +0000 (20:45 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 28 Jun 2023 00:45:50 +0000 (20:45 -0400)
commit224be6b10e75124024f1df99c3acb32c6f44c9d6
tree9468c8990ae7e0c0faff35073e33ba1fc9ebbb2c
parenta1508f59d6202fbfd2a2d4616b014230d901c931
view_mail.js: add helper function for select/deselect

This will be used to add/remove drag handlers and to keep that code DRY.
webcit-ng/static/js/view_mail.js