Mobile compatibility fix for small screens
This commit is contained in:
parent
e7107c20b9
commit
0c653e2692
@ -515,7 +515,7 @@ 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 4;
|
return 3;
|
||||||
else
|
else
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ 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 4;
|
return 3;
|
||||||
else
|
else
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user