"; $('#cekresiresult').text(''); $("#cekresiresult").append(data); }); }); } })(jQuery)}catch(e){console.log(e)}try{jQuery( function($) { /** * Pull share counts * */ $(document).ready( function() { if( typeof dpsp_ajax_url != 'undefined' && typeof dpsp_ajax_pull_post_share_counts_data != 'undefined' ) { $.post( dpsp_ajax_url, dpsp_ajax_pull_post_share_counts_data, function( response ) { }); } }); /* * Position sidebar icons vertically * */ $(document).ready( function() { $('#dpsp-floating-sidebar').css('top', ( window.innerHeight - $('#dpsp-floating-sidebar').height() ) / 2 ); }); $(window).on( 'resize', function() { $('#dpsp-floating-sidebar').css('top', ( window.innerHeight - $('#dpsp-floating-sidebar').height() ) / 2 ); }); /* * Open Pinterest overlay to select which image to pin when * clicking on a Pin button without media attached * */ $(document).ready( function() { $('.dpsp-network-btn.dpsp-pinterest').click( function(e) { if( $(this).attr('href') != '#' ) return false; e.preventDefault(); var elem = document.createElement('script'); elem.setAttribute('type', 'text/javascript'); elem.setAttribute('charset', 'UTF-8'); elem.setAttribute('src', 'https://assets.pinterest.com/js/pinmarklet.js'); document.body.appendChild(elem); }); }); /* * Open share links in a pop-up window * */ $(document).on( 'click', '.dpsp-network-btn', function(e) { if( $(this).hasClass('dpsp-twitter') && typeof window.twttr != 'undefined' ) return; e.preventDefault(); if( $(this).attr('href') == '#' ) return false; $(this).blur(); window.open( $(this).attr('href'),'targetWindow', "toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=700,height=300,top=200,left=" + ($(window).innerWidth() - 700)/2 ); }); })}catch(e){console.log(e)}try{jQuery(function(a){function b(){a("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('').prepend('')}String.prototype.getDecimals||(String.prototype.getDecimals=function(){var a=this,b=(""+a).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return b?Math.max(0,(b[1]?b[1].length:0)-(b[2]?+b[2]:0)):0}),a(document).on("updated_wc_div",function(){b()}),a(document).on("click",".plus, .minus",function(){var b=a(this).closest(".quantity").find(".qty"),c=parseFloat(b.val()),d=parseFloat(b.attr("max")),e=parseFloat(b.attr("min")),f=b.attr("step");c&&""!==c&&"NaN"!==c||(c=0),""!==d&&"NaN"!==d||(d=""),""!==e&&"NaN"!==e||(e=0),"any"!==f&&""!==f&&void 0!==f&&"NaN"!==parseFloat(f)||(f=1),a(this).is(".plus")?d&&c>=d?b.val(d):b.val((c+parseFloat(f)).toFixed(f.getDecimals())):e&&c<=e?b.val(e):c>0&&b.val((c-parseFloat(f)).toFixed(f.getDecimals())),b.trigger("change")}),b()})}catch(e){console.log(e)}
0 item in the bag

No products in the cart.

Join Member untuk dapatkan tambahan potongan harga.