Write additional tests (#22802)
* Write additional tests * Make Sonar happier
This commit is contained in:
committed by
GitHub
parent
a4f9e7adad
commit
017dfb6606
@@ -41,7 +41,7 @@ function routeUrl(location: Location) {
|
||||
(window.matrixChat as MatrixChatType).showScreen(s.screen, s.params);
|
||||
}
|
||||
|
||||
function onHashChange(ev: HashChangeEvent) {
|
||||
function onHashChange() {
|
||||
if (decodeURIComponent(window.location.hash) === lastLocationHashSet) {
|
||||
// we just set this: no need to route it!
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user