Pārlūkot izejas kodu

bouton Reset: recharge la page après reset

Benoît Hubert 8 gadi atpakaļ
vecāks
revīzija
dfdb9680f8
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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() {