New fix for small screen pagination
This commit is contained in:
parent
0c653e2692
commit
bfbb959cf8
@ -515,9 +515,9 @@ jQuery(document).ready(function($)
|
|||||||
if (window.innerWidth >= 600)
|
if (window.innerWidth >= 600)
|
||||||
return 6;
|
return 6;
|
||||||
else if (window.innerWidth < 600 && window.innerWidth > 450)
|
else if (window.innerWidth < 600 && window.innerWidth > 450)
|
||||||
return 3;
|
return 4;
|
||||||
else
|
else
|
||||||
return 2;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
var currentPage = 0;
|
var currentPage = 0;
|
||||||
|
@ -43,9 +43,9 @@ jQuery(document).ready(function($)
|
|||||||
if (window.innerWidth >= 600)
|
if (window.innerWidth >= 600)
|
||||||
return null;
|
return null;
|
||||||
else if (window.innerWidth < 600 && window.innerWidth > 450)
|
else if (window.innerWidth < 600 && window.innerWidth > 450)
|
||||||
return 3;
|
return 4;
|
||||||
else
|
else
|
||||||
return 2;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
var currentPage = 0;
|
var currentPage = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user