Commit 0c152773 authored by Clément's avatar Clément

update rename sib-trigger → sib-link

parent 5bd3e541
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
this.updateSubrouter(router); this.updateSubrouter(router);
} }
hide() { hide() {
this.view.setAttribute('hidden', '') this.view.setAttribute('hidden', '');
this.removeAttribute('active'); this.removeAttribute('active');
} }
} }
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
customElements.define('sib-router', SIBRouter); customElements.define('sib-router', SIBRouter);
class SIBTrigger extends HTMLElement { class SIBLink extends HTMLElement {
constructor() { constructor() {
super(); super();
this.addEventListener('click', event => this.trigger()); this.addEventListener('click', event => this.trigger());
...@@ -146,6 +146,6 @@ ...@@ -146,6 +146,6 @@
} }
} }
customElements.define('sib-trigger', SIBTrigger); customElements.define('sib-link', SIBLink);
}()); }());
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment