diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Shared/Scripts/blog.js b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Shared/Scripts/blog.js index 6b1851dc02..37cd1643bb 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Shared/Scripts/blog.js +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Shared/Scripts/blog.js @@ -1,11 +1,4 @@ (function () { - function handleArrows() { - var herosWidth = $('.hero-articles').width(); - var arrowsPosition = herosWidth / 2 - 90; - $('.owl-next').css('right', arrowsPosition); - $('.owl-prev').css('left', arrowsPosition); - } - function handleImages() { //if ($(window).width() > 767) { // $(".box-articles .img-container").each(function () { @@ -27,13 +20,8 @@ $(window).resize(function () { setTimeout(function () { - handleArrows(); handleImages(); }, 500); }); - - setTimeout(function () { - handleArrows(); - }, 500); }); })();