fix
[redakcja.git] / src / redakcja / static / js / wiki / view_properties.js
index a3fe432..9fa1c9d 100644 (file)
 
                 self.$pane.on('click', '.meta-delete', function() {
                     let $fg = $(this).closest('.form-group');
 
                 self.$pane.on('click', '.meta-delete', function() {
                     let $fg = $(this).closest('.form-group');
-                    $('input', $fg).data('edited').remove();
+                    let $ig = $(this).closest('.input-group');
+                    $('input', $ig).data('edited').remove();
                     self.displayMetaProperty($fg);
                     $.wiki.perspectives.VisualPerspective.flush();
                     return false;
                     self.displayMetaProperty($fg);
                     $.wiki.perspectives.VisualPerspective.flush();
                     return false;