coupons.js
410 Bytes
var $ = require('jquery'),
Hammer = require('yoho.hammer');
var employ;
$('#yoho-footer').css('position','static');
$('.employ span').each(function(index) {
employ = new Hammer($('.employ span')[index]);
employ.on('tap', function(e) {
$('.employ-list').addClass('none').eq(index).removeClass('none');
$('.employ span').removeClass('active').eq(index).addClass('active');
});
});