diff --git a/routes/_components/IconButton.html b/routes/_components/IconButton.html index 7489389..c47e6ea 100644 --- a/routes/_components/IconButton.html +++ b/routes/_components/IconButton.html @@ -4,8 +4,7 @@ aria-pressed="{{!!pressed}}" class="{{computedClass}}" disabled="{{disabled}}" - delegate-click-key="{{delegateKey}}" - delegate-keydown-key="{{delegateKey}}" + delegate-key="{{delegateKey}}" on:click > @@ -17,8 +16,7 @@ aria-label="{{label}}" class="{{computedClass}}" disabled="{{disabled}}" - delegate-click-key="{{delegateKey}}" - delegate-keydown-key="{{delegateKey}}" + delegate-key="{{delegateKey}}" on:click > diff --git a/routes/_components/status/Status.html b/routes/_components/status/Status.html index 4ad5260..c2654a1 100644 --- a/routes/_components/status/Status.html +++ b/routes/_components/status/Status.html @@ -1,7 +1,6 @@
is clickable in this case - registerDelegate('click', elementKey, onClickOrKeydown) - registerDelegate('keydown', elementKey, onClickOrKeydown) + registerClickDelegate(elementKey, onClickOrKeydown) } }, ondestroy() { let elementKey = this.get('elementKey') if (!this.get('isStatusInOwnThread')) { - unregisterDelegate('click', elementKey) - unregisterDelegate('keydown', elementKey) + unregisterClickDelegate(elementKey) } }, components: { diff --git a/routes/_components/status/StatusToolbar.html b/routes/_components/status/StatusToolbar.html index 9a0d6dc..436fb23 100644 --- a/routes/_components/status/StatusToolbar.html +++ b/routes/_components/status/StatusToolbar.html @@ -36,7 +36,7 @@