Van 6 years ago
parent
commit
2016ef5952
2 changed files with 3 additions and 3 deletions
  1. 1 1
      CHANGELOG.md
  2. 2 2
      src/ts/toolbar/Fullscreen.ts

+ 1 - 1
CHANGELOG.md

@@ -36,7 +36,7 @@
 * [3](https://github.com/Vanessa219/vditor/issues/3) 编辑预览同步滚动改进 `enhancement`
 * [4](https://github.com/Vanessa219/vditor/issues/4) 添加支持思维导图的功能 `enhancement`
 
-### v1.10.9 / 2019-12-10
+### v1.10.10 / 2019-12-12
 
 * [20](https://github.com/Vanessa219/vditor/issues/20) 报错:Lute is not defined `bug`
 * [19](https://github.com/Vanessa219/vditor/issues/19) CDN 切换优化 `enhancement`

+ 2 - 2
src/ts/toolbar/Fullscreen.ts

@@ -18,7 +18,7 @@ export class Fullscreen extends MenuItem {
                 this.innerHTML = menuItem.icon || fullscreenSVG;
                 vditorElement.classList.remove("vditor--fullscreen");
                 Object.keys(vditor.toolbar.elements).forEach((key) => {
-                    const svgElement  = vditor.toolbar.elements[key].firstChild as HTMLElement;
+                    const svgElement = vditor.toolbar.elements[key].firstChild as HTMLElement;
                     if (svgElement) {
                         svgElement.className = svgElement.className.replace("__s", "__n");
                     }
@@ -34,7 +34,7 @@ export class Fullscreen extends MenuItem {
                 });
             }
 
-            if (vditor.devtools &&  vditor.devtools.ASTChart && vditor.devtools.element.style.display === "block") {
+            if (vditor.devtools && vditor.devtools.ASTChart && vditor.devtools.element.style.display === "block") {
                 vditor.devtools.ASTChart.resize();
             }
         });