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