mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
commit
020b240579
2 changed files with 6 additions and 0 deletions
|
|
@ -1425,6 +1425,7 @@ jQuery(function($){
|
|||
// Details toggle in admin table
|
||||
var simpleBtn = $('.x .dsTg .__simple');
|
||||
var detailBtn = $('.x .dsTg .__detail');
|
||||
var tableContainer = $('.x .dsTg');
|
||||
var tdTitle = $('.x .dsTg td.title');
|
||||
tdTitle.each(function(){
|
||||
var $t = $(this);
|
||||
|
|
@ -1439,12 +1440,14 @@ jQuery(function($){
|
|||
simples.show();
|
||||
detailBtn.removeClass('x_active');
|
||||
simpleBtn.addClass('x_active');
|
||||
tableContainer.addClass('__simpleView');
|
||||
};
|
||||
var detailBtnFn = function(){
|
||||
details.show();
|
||||
simples.hide();
|
||||
detailBtn.addClass('x_active');
|
||||
simpleBtn.removeClass('x_active');
|
||||
tableContainer.removeClass('__simpleView');
|
||||
};
|
||||
simpleBtn.click(simpleBtnFn);
|
||||
detailBtn.click(detailBtnFn);
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@
|
|||
top: -1px;
|
||||
}
|
||||
}
|
||||
.__simpleView .fvOff,.__simpleView .fvOn{
|
||||
top:0;
|
||||
}
|
||||
.fvOff{
|
||||
background-image: data-uri('images/star-empty.svg');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue