Fix braces for if check

This commit is contained in:
Andrew McOlash 2019-01-21 00:47:53 -08:00
parent 320743ab8d
commit a0dde39d97

View File

@ -606,7 +606,9 @@ Module.register("calendar", {
} else {
line++;
if (line > maxTitleLines - 1) {
if (i < words.length) currentLine += "&hellip;";
if (i < words.length) {
currentLine += "&hellip;";
}
break;
}