Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
safwansamsudeen committed Sep 11, 2024
1 parent 4e09e02 commit 350ff7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 350ff7f

Please sign in to comment.