mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 17:56:07 +01:00
Removed unused variable
This commit is contained in:
@@ -492,9 +492,7 @@ $(function () {
|
||||
button.data('key-index', ++key);
|
||||
|
||||
// process markdown editors
|
||||
var field = newItem.find('[name]').filter('textarea'),
|
||||
name = field.attr('name');
|
||||
|
||||
var field = newItem.find('[name]').filter('textarea');
|
||||
if (field.length && field.data('grav-mdeditor') && typeof MDEditors !== 'undefined') {
|
||||
MDEditors.add(field);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user