Skip to content

Commit b6357a1

Browse files
committed
Update codeit.js
1 parent b208567 commit b6357a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/codeit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,14 +354,14 @@ class CodeitElement extends HTMLElement {
354354

355355
if (cd.options.preserveIdent) handleDelNewLine(event);
356356

357-
if (cd.options.addClosing) handleSelfClosingCharacters(event);
358-
359357
if (cd.options.preserveIdent) alignBracket(event);
360358

361359
}
362360

363361
if (cd.options.catchTab) handleTabCharacters(event);
364362

363+
if (cd.options.addClosing) handleSelfClosingCharacters(event);
364+
365365
if (cd.options.history) {
366366

367367
handleUndoRedo(event);

0 commit comments

Comments
 (0)