Преглед изворни кода

replace with destroy method

Natan Keddem пре 1 година
родитељ
комит
0d9073bce0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      nicegui/elements/json_editor.js

+ 1 - 1
nicegui/elements/json_editor.js

@@ -28,7 +28,7 @@ export default {
     },
     destroyEditor() {
       if (this.editor) {
-        this.editor.dispose();
+        this.editor.destroy();
       }
     },
   },