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);
|
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user