소스 검색

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() {