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
This looks great :) Alas it doesn't work on non-touch (e.g. desktop) browsers that happen to be narrow. I'm guessing you'll want to check for the availability of touch events in your code, e.g.
if ('ontouchstart' in document.documentElement === true) {
/* do stuff */
}
The text was updated successfully, but these errors were encountered:
It only works on page load so resizing a desktop browser won't work. You have to refresh when it's narrow enough. I tried it so that it would change on resize but it caused some issues.
This looks great :) Alas it doesn't work on non-touch (e.g. desktop) browsers that happen to be narrow. I'm guessing you'll want to check for the availability of touch events in your code, e.g.
The text was updated successfully, but these errors were encountered: