More misc linter cleanup

pull/21833/head
Travis Ralston 2019-02-21 18:18:12 -07:00
parent 9795161f40
commit 75a2593523
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ export default class AliasSettings extends React.Component {
isAliasValid(alias) {
// XXX: FIXME https://github.com/matrix-org/matrix-doc/issues/668
return (alias.match(/^#([^\/:,]+?):(.+)$/) && encodeURI(alias) === alias);
return (alias.match(/^#([^/:,]+?):(.+)$/) && encodeURI(alias) === alias);
}
changeCanonicalAlias(alias) {
@ -252,4 +252,4 @@ export default class AliasSettings extends React.Component {
</div>
);
}
};
}