diff --git a/.jshintrc b/.jshintrc index 2b6f469f0..6bc8f189e 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,3 +1,3 @@ { - "esversion": 6 + "esversion": 8 } diff --git a/indigo_app/static/javascript/indigo/views/document_xml_editor.js b/indigo_app/static/javascript/indigo/views/document_xml_editor.js index e981d7476..c4370efe9 100644 --- a/indigo_app/static/javascript/indigo/views/document_xml_editor.js +++ b/indigo_app/static/javascript/indigo/views/document_xml_editor.js @@ -104,7 +104,7 @@ class AknTextEditor { const eId = this.xmlElement.getAttribute('eId'); const body = { 'content': this.monacoEditor.getValue() - } + }; if (fragmentRule !== 'akomaNtoso') { body.fragment = fragmentRule; @@ -327,7 +327,7 @@ class XMLEditor { return; } - this.onElementParsed(element) + this.onElementParsed(element); } }