Disable a widget on click

Hi there, I have a widget in my application (barcodeScannerForPhonegap). When I accidently click this widget (button) twice, I get an error saying the scanning is already in progress.  Does anyone have any ideas on how to prevent this? I prefer not touching the JS code of the widget for now… Thanks for your help! Kind regards, Tim
1 answers

If you don’t want to change that widget code yourself you can try submitting that as an issue


I don’t see a way to solve this without changing the widget code.

regards, Fabian