We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1334323 commit afd9079Copy full SHA for afd9079
app/components/rl-dropdown.js
@@ -22,8 +22,8 @@ export default Component.extend({
22
click(event) {
23
let closeOnChildClick = this.closeOnChildClick;
24
let propagateClicks = this.propagateClicks;
25
- let $target = $(event.target);
26
- let $c = this.$();
+ let $target = event.target;
+ let $c = this.element;
27
28
if ($target !== $c) {
29
if ((closeOnChildClick === true || closeOnChildClick === 'true') && $target.closest($c).length) {
0 commit comments