mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Fix braces for if check
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user