nteract / bookstore

📚 Notebook storage and publishing workflows for the masses
https://bookstore.readthedocs.io
BSD 3-Clause "New" or "Revised" License
201 stars 23 forks source link

Disable clone button after click in clone.html #170

Closed mpacer closed 4 years ago

mpacer commented 4 years ago

Currently when you click the clone button, nothing happens until we get the response from bookstore that we use to redirect to the notebook UI.

This means that someone might click the button a bunch of times and end up with (for example) 16 copies of the same notebook.

We should probably be able to fix this by disabling the button on click so only one request is issued until we get a response.