[Chrome 66+] expand advanced options in MD-exts

This commit is contained in:
tophf 2018-05-09 20:52:45 +03:00
parent d36fea27ad
commit 41198e0b48
2 changed files with 6 additions and 1 deletions

View File

@ -46,6 +46,10 @@ body {
position: relative; position: relative;
} }
.block:nth-last-child(2) {
margin-bottom: 0;
}
.block:last-child { .block:last-child {
border-bottom: none; border-bottom: none;
padding-bottom: 0; padding-bottom: 0;

View File

@ -6,7 +6,8 @@ setupRadioButtons();
enforceInputRange($('#popupWidth')); enforceInputRange($('#popupWidth'));
setTimeout(splitLongTooltips); setTimeout(splitLongTooltips);
if (!FIREFOX && !OPERA) { // collapse #advanced block in Chrome pre-66 (classic chrome://extensions UI)
if (!FIREFOX && !OPERA && CHROME < 3343) {
const block = $('#advanced'); const block = $('#advanced');
$('h1', block).onclick = event => { $('h1', block).onclick = event => {
event.preventDefault(); event.preventDefault();