mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
always use template strings instead of string concatenation
This commit is contained in:
@@ -99,7 +99,7 @@ const mentionSetup = {
|
||||
|
||||
return names.map(name => {
|
||||
return {
|
||||
id: '#' + name,
|
||||
id: `#${name}`,
|
||||
name: name
|
||||
}
|
||||
});
|
||||
@@ -114,7 +114,7 @@ const mentionSetup = {
|
||||
|
||||
return names.map(name => {
|
||||
return {
|
||||
id: '~' + name,
|
||||
id: `~${name}`,
|
||||
name: name
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user