1AtomerApp.eshop.cart.showCartBoxPopUp = function() { 2 if (!$('#hlaskaDoKosika').length){ 3 return false; 4 } 5 6 $('#hlaskaDoKosika').css({ 7 left: '50%', 8 top: '50%', 9 transform: 'translate(-50%, -50%)' 10 }); 11 12 $('#hlaskaDoKosika_obal').show(); 13 $('#hlaskaDoKosika').show(); 14 15 /*let window_w = $(window).width(), 16 window_h = $(window).height(), 17 hlaska_w = $('#hlaskaDoKosika').width(), 18 hlaska_h = $('#hlaskaDoKosika').height(); 19 20 let h_top = parseInt((window_h - hlaska_h) / 2), 21 h_left = parseInt((window_w - hlaska_w) / 2); 22 23 $('#hlaskaDoKosika').css({ 24 top: h_top+'px', 25 left: h_left+'px' 26 });*/ 27}; 28AtomerApp.eshop.cart.hideCartBoxPopUp = function() { 29 if ($('#hlaskaDoKosika').length) { 30 $('#hlaskaDoKosika_obal').hide(); 31 $('#hlaskaDoKosika').hide(); 32 } 33}; 34 35/* Old functions alias to new functions */ 36var show_addCartBox = function() { 37 AtomerApp.eshop.cart.showCartBoxPopUp(); 38}; 39var hide_addCartBox = function() { 40 AtomerApp.eshop.cart.hideCartBoxPopUp(); 41};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.