mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
Replace …
with …
(#2973)
I think it is clearer if we don't use the HTML entity. Co-authored-by: Karsten Hassel <hassel@gmx.de>
This commit is contained in:
committed by
GitHub
parent
a2624442cc
commit
3124b0a9c5
@@ -814,7 +814,7 @@ Module.register("calendar", {
|
||||
line++;
|
||||
if (line > maxTitleLines - 1) {
|
||||
if (i < words.length) {
|
||||
currentLine += "…";
|
||||
currentLine += "…";
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -831,7 +831,7 @@ Module.register("calendar", {
|
||||
return (temp + currentLine).trim();
|
||||
} else {
|
||||
if (maxLength && typeof maxLength === "number" && string.length > maxLength) {
|
||||
return string.trim().slice(0, maxLength) + "…";
|
||||
return string.trim().slice(0, maxLength) + "…";
|
||||
} else {
|
||||
return string.trim();
|
||||
}
|
||||
|
Reference in New Issue
Block a user