css refactor :]
This commit is contained in:
parent
81ab7856c6
commit
6e5aad77dd
5 changed files with 146 additions and 158 deletions
|
|
@ -1,4 +1,4 @@
|
|||
export function hijackClickEvent(container, link) {
|
||||
export function hijackClickEvent(container, link) {
|
||||
container.addEventListener('click', event => {
|
||||
if (event.target.tagName.toLowerCase() === 'a') return;
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue