瀏覽代碼

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