open link on content index

This commit is contained in:
Shin'ya Ueoka 2017-09-17 15:45:59 +09:00
parent 59a28d0b44
commit 655ac16f38
3 changed files with 19 additions and 10 deletions

View file

@ -33,10 +33,4 @@ export default class Hint {
remove() {
this.element.remove();
}
activate() {
if (this.target.tagName.toLowerCase() === 'a') {
this.target.click();
}
}
}