kallookoo / wp-color-picker-alpha

Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
GNU General Public License v2.0
132 stars 88 forks source link

There's still some deprecated jQuery #46

Closed pacmanito closed 2 years ago

pacmanito commented 2 years ago

Hi, deprecated jQuery.fn.click() event shorthand is used in the script for a few times, e.g. here:

https://github.com/kallookoo/wp-color-picker-alpha/blob/b83cdb3063efb897c91ca8e80dd582afbdadb394/src/wp-color-picker-alpha.js#L570

and here:

https://github.com/kallookoo/wp-color-picker-alpha/blob/b83cdb3063efb897c91ca8e80dd582afbdadb394/src/wp-color-picker-alpha.js#L614

kallookoo commented 2 years ago

Thanks @pacmanito !!!

pacmanito commented 2 years ago

@kallookoo thanks for reacting that fast!