I changed .live() to .on() but change is not reflected on the server
I downloaded a quantity increment plugin (themeszone Woocommerce ajax quantity) for my Wordpress site. Some of the Jquery was outdated this line specifically;
$('.tz-qty-cont').live('click', function(){
I found out .live was deprecated and needed to be changed to .on so i changed the line to
$(document.body).on('click', '.tz-qty-cont', function(){
However, I pushed the change to the server and inspected it with google console, I noticed my Wordpress site is not detecting the change? I'm on WP 5.7 and I'm pretty sure Jquery migrate is enabled even though i did not enable it which is odd as I thought it was removed in version 5.5 I thought about using Jquery migrater but then I found out that if my WP version is higher than 5.6 then Jquery migrator wont actually help (not that its a solution in the first place)