mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-13 07:58:41 +00:00
remove newline
This commit is contained in:
parent
6900928bc8
commit
e216330429
|
|
@ -199,7 +199,6 @@ export class Table
|
||||||
rowId = this.closest('tr').rowIndex,
|
rowId = this.closest('tr').rowIndex,
|
||||||
orderType = jsOMS.hasClass(this, 'order-up') ? 1 : -1;
|
orderType = jsOMS.hasClass(this, 'order-up') ? 1 : -1;
|
||||||
|
|
||||||
|
|
||||||
if (orderType === 1 && rowId > 1) {
|
if (orderType === 1 && rowId > 1) {
|
||||||
rows[rowId].parentNode.insertBefore(rows[rowId - 2], rows[rowId]);
|
rows[rowId].parentNode.insertBefore(rows[rowId - 2], rows[rowId]);
|
||||||
} else if (orderType === -1 && rowId < rowLength) {
|
} else if (orderType === -1 && rowId < rowLength) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user