hasher.changed.* to hasher.*

This commit is contained in:
djmaze 2021-08-13 10:01:01 +02:00
parent d536b5eeee
commit 5f21fcc100
3 changed files with 12 additions and 16 deletions

View file

@ -303,7 +303,7 @@ export function startScreens(screensClasses) {
const cross = new Crossroads();
cross.addRoute(/^([a-zA-Z0-9-]*)\/?(.*)$/, screenOnRoute);
hasher.changed.add(cross.parse.bind(cross));
hasher.add(cross.parse.bind(cross));
hasher.init();
setTimeout(() => $htmlCL.remove('rl-started-trigger'), 100);