Переглянути джерело

bouton Reset: recharge la page après reset

Benoît Hubert 8 роки тому
батько
коміт
dfdb9680f8
1 змінених файлів з 1 додано та 0 видалено
  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() {