Skip to content

Commit b4ed70f

Browse files
committed
Remove old CodeMirror resizable code. Resolves #22
1 parent 4cf0e7d commit b4ed70f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

includes/edit/admin.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,5 @@
140140
echo code_snippets_get_editor_atts( $atts, true );
141141
?>;
142142
var editor = CodeMirror.fromTextArea(document.getElementById('snippet_code'), atts);
143-
144-
jQuery('.CodeMirror').resizable({
145-
resize: function() {
146-
editor.setSize( jQuery(this).width(), jQuery(this).height() );
147-
}
148-
});
149-
150143
})();
151144
</script>

0 commit comments

Comments
 (0)