diff --git a/src/index.js b/src/index.js index f8ff9f01..e446be3b 100644 --- a/src/index.js +++ b/src/index.js @@ -739,8 +739,7 @@ export default class Gantt { }); $lower_text.innerText = date.lower_text; $lower_text.style.left = - +$lower_text.style.left.slice(0, -2) + - 'px'; + +$lower_text.style.left.slice(0, -2) + 'px'; if (date.upper_text) { this.upper_texts_x[date.upper_text] = date.upper_x;