Skip to content

Commit

Permalink
feat: remove the instance of $() and replace with this.element
Browse files Browse the repository at this point in the history
- Remove dependence on jQuery
- jQuery removed in Ember 4.0, off in Octane, currently can be
 turned off
  • Loading branch information
scottyd980 authored and adrigzr committed Apr 24, 2019
1 parent 118aa63 commit aaf557d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default Component.extend({
}

const scheduler = this.get('scheduler');
const element = this.$().get(0);
const element = this.element;

// Close modal.
this.set('visible', false);
Expand Down

0 comments on commit aaf557d

Please sign in to comment.