diff --git a/bl-kernel/admin/views/editor.php b/bl-kernel/admin/views/editor.php index 228e0b41..25757355 100644 --- a/bl-kernel/admin/views/editor.php +++ b/bl-kernel/admin/views/editor.php @@ -214,6 +214,13 @@ enableBtnSave(); }); + $('#coverImagePreview').dblclick(function() { + $('#coverImage').val(''); + $(this).attr('src', HTML_PATH_CORE_IMG + 'default.svg'); + var args = { coverImage: '' } + savePage(args); + }); + // Modal description events // ------------------------------------------------------------------------ $('#btnSaveDescription').on('click', function() {