Explorar el Código

text panel: fix $apply already in progress error (#10486)

Alexander Zobnin hace 8 años
padre
commit
1fdc24c412
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      public/app/plugins/panel/text/module.ts

+ 0 - 3
public/app/plugins/panel/text/module.ts

@@ -66,9 +66,6 @@ export class TextPanelCtrl extends PanelCtrl {
   renderMarkdown(content) {
   renderMarkdown(content) {
     if (!this.remarkable) {
     if (!this.remarkable) {
       this.remarkable = new Remarkable();
       this.remarkable = new Remarkable();
-      this.$scope.$apply(() => {
-        this.updateContent(this.remarkable.render(content));
-      });
     }
     }
 
 
     this.$scope.$applyAsync(() => {
     this.$scope.$applyAsync(() => {