This commit is contained in:
James Cole 2018-06-24 15:43:05 +02:00
parent 5b0e61033c
commit 59f5b38dca
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -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();