Some small tidying up (#9149)
* Remove stale comment * Fix typing * Install katex type definitions
This commit is contained in:
parent
eb2e61e9cf
commit
5fbeb20df8
4 changed files with 9 additions and 3 deletions
|
@ -130,8 +130,8 @@ function onAliasClick(event: MouseEvent, roomAlias: string) {
|
|||
});
|
||||
}
|
||||
|
||||
const escapeRegExp = function(string): string {
|
||||
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
||||
const escapeRegExp = function(s: string): string {
|
||||
return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
||||
};
|
||||
|
||||
// Recognise URLs from both our local and official Element deployments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue