HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: //home/salamatk/.trash/woodmart1/js/scripts/elements/compareImages.min.js
jQuery.each(["frontend/element_ready/wd_compare_img.default"],function(e,t){woodmartThemeModule.wdElementorAddAction(t,function(){woodmartThemeModule.compareImages()})}),woodmartThemeModule.compareImages=function(){function n(e,t){var o=t.getBoundingClientRect(),e=e.clientX-o.left,e=((e=(e=e<0?0:e)>o.width?o.width:e)/o.width*100).toFixed(3);t.style.setProperty("--wd-compare-handle-pos",e+"%")}document.querySelectorAll(".wd-compare-img").forEach(function(e){var t,o;o=!1,(t=e).addEventListener("mousedown",function(e){o=!0,n(e,t)}),document.addEventListener("mouseup",function(){o=!1}),t.addEventListener("mousemove",function(e){o&&n(e,t)}),t.addEventListener("touchstart",function(e){o=!0,n(e.touches[0],t)},{passive:!0}),document.addEventListener("touchend",function(){o=!1},{passive:!0}),t.addEventListener("touchmove",function(e){o&&n(e.touches[0],t)},{passive:!0})})},window.addEventListener("load",function(){woodmartThemeModule.compareImages()});