coupons.js
413 Bytes
var $ = require('jquery'),
Hammer = require('yoho.hammer');
var employ;
window.rePosFooter();
$('.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');
window.rePosFooter();
});
});