index of
/
home
/
thefkyzp
/
public_html
/
wp-content
/
themes
/
oceanwp
/
inc
/
customizer
/
assets
/
min
/
js
/
File: /home/thefkyzp/public_html/wp-content/themes/oceanwp/inc/customizer/assets/min/js/dimensions.min.js
var $=jQuery;wp.customize.controlConstructor["oceanwp-dimensions"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;t.container.on("change keyup paste",".dimension-desktop_top",function(){t.settings.desktop_top.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-desktop_right",function(){t.settings.desktop_right.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-desktop_bottom",function(){t.settings.desktop_bottom.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-desktop_left",function(){t.settings.desktop_left.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-tablet_top",function(){t.settings.tablet_top.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-tablet_right",function(){t.settings.tablet_right.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-tablet_bottom",function(){t.settings.tablet_bottom.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-tablet_left",function(){t.settings.tablet_left.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-mobile_top",function(){t.settings.mobile_top.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-mobile_right",function(){t.settings.mobile_right.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-mobile_bottom",function(){t.settings.mobile_bottom.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-mobile_left",function(){t.settings.mobile_left.set(jQuery(this).val())})}}),$(document).on("click",".oceanwp-linked",function(){var t=$(this);t.parent().parent(".dimension-wrap").prevAll().slice(0,4).find("input").removeClass("linked").attr("data-element",""),t.parent(".link-dimensions").removeClass("unlinked")}),$(document).on("click",".oceanwp-unlinked",function(){var t=$(this),e=t.data("element");t.parent().parent(".dimension-wrap").prevAll().slice(0,4).find("input").addClass("linked").attr("data-element",e),t.parent(".link-dimensions").addClass("unlinked")}),$(document).on("input",".dimension-wrap .linked",function(){var t=$(this).attr("data-element"),n=$(this).val();$('.linked[ data-element="'+t+'" ]').each(function(t,e){$(this).val(n).change()})});