Add safety around refresh to update
parent
146da8c90b
commit
372da0a041
|
@ -1161,7 +1161,9 @@ function show_about_paint(){
|
||||||
|
|
||||||
$("#refresh-to-update").on("click", (event)=> {
|
$("#refresh-to-update").on("click", (event)=> {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
location.reload();
|
are_you_sure(() => {
|
||||||
|
location.reload();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#view-project-news").on("click", () => {
|
$("#view-project-news").on("click", () => {
|
||||||
|
|
Loading…
Reference in New Issue