woocommerce/assets/js
Rodrigo Primo 5c8491c862 Remove jQuery code that does nothing
This commit replaces a block of jQuery code that I believe does nothing. I found it while starting the work to make our JS code compatible with jQuery 3 as it uses jQuery.fn.keyup() which has been deprecated.

As far as I can understand, this block of code is supposed to change the focus to the coupon description when the user hits the tab key while the focus is on the title field. It doesn't work because the keyup event is not fired for the tab key. The current behavior is that when the user hits the tab key, the focus changes to the "Generate coupon code" button, and if the tab key is pressed another time, the focus changes to the description text field. Which seems fine to me and that is why I'm suggesting we remove this code instead of fixing it.

I believe it was added in this c15b8e817c commit six years ago and unfortunatelly the commit doesn't provide much information on why it was added.
2020-11-17 14:39:55 -03:00
..
accounting Grunt dev 2017-06-19 12:49:34 +01:00
admin Remove jQuery code that does nothing 2020-11-17 14:39:55 -03:00
flexslider Minify 2019-04-16 14:36:37 +01:00
frontend Revert "Added support for file in checkout ajax." 2020-11-16 09:04:15 -08:00
jquery-blockui Grunt dev 2017-06-19 12:49:34 +01:00
jquery-cookie Grunt dev 2017-06-19 12:49:34 +01:00
jquery-flot recalc on remove/add 2017-08-10 16:32:24 +01:00
jquery-payment Merge branch 'add/15602-store-street-level-address' 2017-06-30 15:00:51 +01:00
jquery-qrcode Grunt dev 2017-06-19 12:49:34 +01:00
jquery-serializejson Grunt dev 2017-06-19 12:49:34 +01:00
jquery-tiptip Update minified jQuery TipTip file 2020-10-19 21:18:20 -03:00
jquery-ui-touch-punch Grunt dev 2017-06-19 12:49:34 +01:00
js-cookie Grunt dev 2017-06-19 12:49:34 +01:00
photoswipe Updated minified files 2020-07-16 21:44:49 -07:00
prettyPhoto Reduce the file size by merging two selectors 2018-11-02 17:06:30 +01:00
round Grunt dev 2017-06-19 12:49:34 +01:00
select2 Add select2 files back 2017-07-06 08:47:27 -07:00
selectWoo Added minified files. 2020-06-23 13:12:10 +02:00
stupidtable Grunt dev 2017-06-19 12:49:34 +01:00
zeroclipboard Merge branch 'add/15602-store-street-level-address' 2017-06-30 15:00:51 +01:00
zoom Updated minified files 2020-07-16 21:44:49 -07:00