Override frontend.js
-
Hi,
I would like to thank you for the amazing work you guys are doing.
I am working on a project where i need to over ride this ->center_modal = function() { var window_w = $(window).width(), window_h = $(window).height(), width = ( ( window_w - 60 ) > qv_wrapper_w ) ? qv_wrapper_w : ( window_w - 60 ), height = ( ( window_h - 120 ) > qv_wrapper_h ) ? qv_wrapper_h : ( window_h - 120 ); qv_wrapper.css({ 'left' : (( window_w/2 ) - ( width/2 )), 'top' : (( window_h/2 ) - ( height/2 )), 'width' : width + 'px', 'height' : height + 'px' }); };of the frontend.js
Its possible to do with your other plugins, can you please let me know how do i do it ?
I tried to copy and rename the frontend.js to ‘quick-view.js’, ‘yith-quick-view.js’ and ‘yith-woocommerce-quick-view’.Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Override frontend.js’ is closed to new replies.