mirror of
https://github.com/cosmocode/dokuwiki-plugin-struct.git
synced 2025-07-25 16:01:54 +00:00
remove debugging statements from javascript
This commit is contained in:
@ -82,16 +82,12 @@ const AggregationEditor = function (idx, table) {
|
||||
const $children = $row.children();
|
||||
let insertAt = searchconf.actcol;
|
||||
if ( insertAt < 0 ) insertAt = $children.length + 1 + insertAt;
|
||||
console.log("insertAt", insertAt);
|
||||
|
||||
if(insertAt >= $children.length) {
|
||||
console.log("append");
|
||||
$row.append($cell);
|
||||
} else if (insertAt < 0) {
|
||||
console.log("prepend");
|
||||
$row.prepend($cell);
|
||||
} else {
|
||||
console.log("insertBefore");
|
||||
$children.eq(insertAt).before($cell);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user