I have a shiny application where i need to disable the action buttons after one has been clicked to stop a user spamming buttons, i wrote some JS script to do this when the