if (window.matchMedia("(max-width: 1190px)").matches) { count = 2; } if (window.matchMedia('(max-width: 991px)').matches) { width = 310; count = 2; }
if (window.matchMedia("(max-width: 1190px)").matches) { count = 2; } if (window.matchMedia('(max-width: 991px)').matches) { width = 310; count = 2; }