Skip to content

Commit

Permalink
#81 globals $ removed
Browse files Browse the repository at this point in the history
  • Loading branch information
AgriyaDev5 committed Mar 4, 2021
1 parent 5384fb6 commit 1febc85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/editor/components/seColorPicker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* globals $ */
import {jGraduate, jGraduateMethod} from './jgraduate/jQuery.jGraduate.js';
// import jQueryPluginJPicker from './jgraduate/jQuery.jPicker.js';
import PaintBox from './PaintBox.js';

const template = document.createElement('template');
Expand Down Expand Up @@ -170,7 +168,7 @@ export class SeColorPicker extends HTMLElement {
*/
connectedCallback () {
this.paintBox = new PaintBox(this.$block, this.type);
$(this.$picker).click(() => {
this.$picker.addEventListener('click', () => {
let {paint} = this.paintBox;
jGraduateMethod(
this.$color_picker,
Expand Down

0 comments on commit 1febc85

Please sign in to comment.