diff --git a/core/misc/tabledrag.js b/core/misc/tabledrag.js index 204a325252ef..de0bc5d2f53e 100644 --- a/core/misc/tabledrag.js +++ b/core/misc/tabledrag.js @@ -564,7 +564,7 @@ if (self.indentEnabled) { var xDiff = self.currentPointerCoords.x - self.dragObject.indentPointerPos.x; // Set the number of indentations the pointer has been moved left or right. - var indentDiff = Math.round(xDiff / self.indentAmount * self.rtl); + var indentDiff = Math.round(xDiff / self.indentAmount); // Indent the row with our estimated diff, which may be further // restricted according to the rows around this row. var indentChange = self.rowObject.indent(indentDiff);