You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.
Add this code to work var w = $(document).width(); if (w > 1024) { $(".show-desktop").show(); $(".hide-desktop").hide(); } else if (w > 768 && w < 1024) { $(".show-tablet").show(); $(".hide-tablet").hide(); } else if (w < 768) { $(".show-phone").show(); $(".hide-phone").hide(); }
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this code to work
var w = $(document).width();
if (w > 1024) {
$(".show-desktop").show();
$(".hide-desktop").hide();
} else if (w > 768 && w < 1024) {
$(".show-tablet").show();
$(".hide-tablet").hide();
} else if (w < 768) {
$(".show-phone").show();
$(".hide-phone").hide();
}
The text was updated successfully, but these errors were encountered: