Fix multiline comment

This commit is contained in:
barsdeveloper
2023-04-09 23:46:26 +02:00
parent c58c8be0a0
commit 41165fe20e
10 changed files with 29 additions and 15 deletions

View File

@@ -179,7 +179,7 @@ export default class PinEntity extends IEntity {
&& (match = this.PinToolTip.match(/\s*(.+?(?=\n)|.+\S)\s*/))
) {
if (match[1].toLowerCase() === result.toLowerCase()) {
return match[1]
return match[1] // In case they match, then keep the case of the PinToolTip
}
}
return result