Improved tooltips

This commit is contained in:
2019-07-06 13:01:26 +09:00
parent 79d04cf55a
commit c281f87335
5 changed files with 168 additions and 187 deletions

View File

@ -237,6 +237,7 @@ export default class Application {
e.preventDefault()
// Prevent loading the same page
let url = (this as HTMLAnchorElement).getAttribute("href")
if(!url || url === self.currentPath) {
@ -245,6 +246,7 @@ export default class Application {
// Load requested page
self.load(url)
self.emit("linkclicked")
}
}
}