mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Fix braces for if check
This commit is contained in:
parent
320743ab8d
commit
a0dde39d97
@ -606,7 +606,9 @@ Module.register("calendar", {
|
|||||||
} else {
|
} else {
|
||||||
line++;
|
line++;
|
||||||
if (line > maxTitleLines - 1) {
|
if (line > maxTitleLines - 1) {
|
||||||
if (i < words.length) currentLine += "…";
|
if (i < words.length) {
|
||||||
|
currentLine += "…";
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user