- var container = $(this).closest(".richtext_container");
- var editor = container.find("textarea");
- var preview = container.find(".tab-pane[id$='_preview']");
- var minHeight = editor.outerHeight() - preview.outerHeight() + preview.height();
+ const container = $(this).closest(".richtext_container");
+ const editor = container.find("textarea");
+ const preview = container.find(".tab-pane[id$='_preview']");
+ const minHeight = editor.outerHeight() - preview.outerHeight() + preview.height();