Selaa lähdekoodia

replace with destroy method

Natan Keddem 1 vuosi sitten
vanhempi
säilyke
0d9073bce0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      nicegui/elements/json_editor.js

+ 1 - 1
nicegui/elements/json_editor.js

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