mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +09:00
Improve description of mobile view setting, and hide mobile settings if mobile view is disabled #2510
This commit is contained in:
parent
b6c444c536
commit
f980ea58c6
10 changed files with 60 additions and 15 deletions
|
|
@ -147,3 +147,18 @@ function doSaveListConfig(module_srl)
|
|||
|
||||
exec_json('board.procBoardAdminInsertListConfig', params, function() { location.reload(); });
|
||||
}
|
||||
|
||||
$(function() {
|
||||
$('#use_mobile_y,#use_mobile_n').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
if ($(this).val() == 'Y') {
|
||||
$('.hide-if-not-mobile-view').show();
|
||||
} else {
|
||||
$('.hide-if-not-mobile-view').hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
if ($('#use_mobile_n').is(':checked')) {
|
||||
$('.hide-if-not-mobile-view').hide();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue