Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function() {
- if(jQuery(window).width() < 768){
- jQuery('.nb-team-grid').on('click', function(e){
- jQuery(this).toggleClass('test');
- });
- }
- })
- $('.nb-team-grid').on('click', function(e){
- $(this).toggleClass('test')
- $(".nb-team-grid").not(this).removeClass('test');
- });
Add Comment
Please, Sign In to add comment