Removed unused variable

This commit is contained in:
Djamil Legato
2015-11-24 17:40:16 -08:00
parent 300c6842de
commit ff0efee763

View File

@@ -492,9 +492,7 @@ $(function () {
button.data('key-index', ++key); button.data('key-index', ++key);
// process markdown editors // process markdown editors
var field = newItem.find('[name]').filter('textarea'), var field = newItem.find('[name]').filter('textarea');
name = field.attr('name');
if (field.length && field.data('grav-mdeditor') && typeof MDEditors !== 'undefined') { if (field.length && field.data('grav-mdeditor') && typeof MDEditors !== 'undefined') {
MDEditors.add(field); MDEditors.add(field);
} }