Created
May 8, 2014 23:31
-
-
Save H7-25/80293bb1c32b6a8fc81c to your computer and use it in GitHub Desktop.
Autohide memberlist for narrow view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Determine if we have a narrow window (mobile/tablet/or even small desktop window) | |
if (el_kiwi.outerWidth() < 400) { | |
el_kiwi.addClass('narrow'); | |
el_right_bar.addClass('disabled'); | |
} else { | |
el_kiwi.removeClass('narrow'); | |
el_right_bar.removeClass('disabled'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment