403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/yeslicense.org/wp-content/themes/woodmart/js/scripts/wc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/yeslicense.org/wp-content/themes/woodmart/js/scripts/wc/woocommerceQuantity.min.js
!function(l){woodmartThemeModule.woocommerceQuantity=function(){String.prototype.getDecimals||Object.defineProperty(String.prototype,"getDecimals",{value:function(){var e=(""+this).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0},enumerable:!1}),woodmartThemeModule.$document.on("click",".plus, .minus",function(){var e=l(this),t=e.closest(".quantity").find(".qty"),a=parseFloat(t.val()),o=parseFloat(t.attr("max")),r=parseFloat(t.attr("min")),i=t.attr("step");a&&""!==a&&"NaN"!==a||(a=0),""!==o&&"NaN"!==o||(o=""),""!==r&&"NaN"!==r||(r=0),"any"!==i&&""!==i&&void 0!==i&&"NaN"!=parseFloat(i)||(i="1"),e.is(".plus")?o&&(a+parseFloat(i)).toFixed(i.getDecimals())>=o?t.val(o):t.val((a+parseFloat(i)).toFixed(i.getDecimals())):r&&(a-parseFloat(i)).toFixed(i.getDecimals())<=r?t.val(r):0<a&&t.val((a-parseFloat(i)).toFixed(i.getDecimals())),t.trigger("change")})},l(document).ready(function(){woodmartThemeModule.woocommerceQuantity()})}(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit