Explorar o código

bouton Reset: recharge la page après reset

Benoît Hubert %!s(int64=8) %!d(string=hai) anos
pai
achega
dfdb9680f8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      js/editor.js

+ 1 - 0
js/editor.js

@@ -235,6 +235,7 @@ $(document).ready(function() {
 
   function revertEditor() {
     editorStorage.reset();
+    location.reload();
   }
 
   function saveChanges() {