rework guest invite popup

This commit is contained in:
Luke Pulverenti 2016-02-08 23:46:25 -05:00
parent 559ff97dd7
commit dc0ebc82c7
10 changed files with 230 additions and 193 deletions

View file

@ -949,7 +949,8 @@
$(this).siblings().removeClass('ui-btn-active');
$(this).addClass('ui-btn-active');
var elem = $('.' + this.getAttribute('data-value'), page);
var value = this.tagName == 'A' ? this.getAttribute('data-value') : this.value;
var elem = $('.' + value, page);
elem.siblings('.tabContent').hide();
elem.show();