Created by: NogsMPLS
Resolves #16703 (closed). Conditional added in click event to check if the target button has the class of 'disabled'. If it does not have 'disabled' it calls the 'toggle' function. Otherwise, if button has 'disabled' class, toggle does not run.