ActionTabSet, Change position absolute to bottom instead of top (#5602)

* change position absolute to bottom instead of top

* Fixed bottom position to 100% to uncover the tabset title
This commit is contained in:
Chris Joe 2016-05-31 20:48:59 +12:00 committed by Loz Calver
parent 0c719e2138
commit b4c5c71a0b
2 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@
} else {
this.removeClass('rise-up');
if (activeTab.position() !== null) {
$(activePanel).css('top', '0px');
$(activePanel).css('bottom', '100%');
}
}
return false;

View File

@ -130,10 +130,10 @@ $.entwine('ss', function($) {
$(activePanel).css('top',topPosition+"px");
}
} else {
// else remove the rise-up class and set top to 0
// else remove the rise-up class and set bottom to 100%
this.removeClass('rise-up');
if (activeTab.position() !== null){
$(activePanel).css('top','0px');
$(activePanel).css('bottom','100%');
}
}
return false;