Clicking 'See the magic!' button multiple times reloads the page more than once.
HaridevVS opened this issue · 4 comments
When on the main page if you click 'See the magic button' multiple times fast enough, the page reloads twice and shows the message "You are test_name".
To Reproduce
Steps to reproduce the behavior:
- Go to https://www.nothingprivate.ml/
- Enter name and click on 'See the magic!' multiple times really fast.
Expected behavior
Only the "Now open a private browsing window or incognito window on your browser and visit www.nothingprivate.ml to see the magic...." page should load.
Desktop (please complete the following information):
- OS: Ubuntu 18.04
- Browser :
- Chrome 73.0.3683.86
- Firefox 70.0.1
I am submitting an issue for the first time. If there are any mistakes, please let me know.
@HaridevVS Thanks for reporting the button should be disabled during the API Call hence preventing the multiple clicks.
Fixed in #91
@all-contributors please add @HaridevVS for bug.
I've put up a pull request to add @HaridevVS!