mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-13 17:02:06 -05:00
Fix for #1509
This commit is contained in:
1 file changed
+6
+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