[Chrome 66+] expand advanced options in MD-exts
This commit is contained in:
parent
d36fea27ad
commit
41198e0b48
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user