mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-04 13:17:46 -07:00
Fix for #1509
This commit is contained in:
+6
@@ -100,6 +100,12 @@ function removeDivRow(e) {
|
||||
}
|
||||
var row = $(e.target);
|
||||
var index = row.data('split');
|
||||
if (typeof index === 'undefined') {
|
||||
var parent = row.parent();
|
||||
index = parent.data('split');
|
||||
console.log('Parent. ' + parent.className);
|
||||
}
|
||||
console.log('Split index is "' + index + '"');
|
||||
$('div.split_row[data-split="' + index + '"]').remove();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user