浏览代码

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() {
   function revertEditor() {
     editorStorage.reset();
     editorStorage.reset();
+    location.reload();
   }
   }
 
 
   function saveChanges() {
   function saveChanges() {