mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Fix Widget event notification text including spurious space
This commit is contained in:
parent
2144932bbc
commit
6d737fe6c4
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ function textForWidgetEvent(event) {
|
|||
let widgetName = name || prevName || type || prevType || '';
|
||||
// Apply sentence case to widget name
|
||||
if (widgetName && widgetName.length > 0) {
|
||||
widgetName = widgetName[0].toUpperCase() + widgetName.slice(1) + ' ';
|
||||
widgetName = widgetName[0].toUpperCase() + widgetName.slice(1);
|
||||
}
|
||||
|
||||
// If the widget was removed, its content should be {}, but this is sufficiently
|
||||
|
|
Loading…
Reference in a new issue