Add safety around refresh to update

main
Isaiah Odhner 2021-11-28 23:12:43 -05:00
parent 146da8c90b
commit 372da0a041
1 changed files with 3 additions and 1 deletions

View File

@ -1161,7 +1161,9 @@ function show_about_paint(){
$("#refresh-to-update").on("click", (event)=> {
event.preventDefault();
location.reload();
are_you_sure(() => {
location.reload();
});
});
$("#view-project-news").on("click", () => {