mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
17 lines
536 B
JavaScript
17 lines
536 B
JavaScript
'use script';
|
|
|
|
document.getElementById('toggle2').addEventListener('click', function(e) {
|
|
const dialog = document.getElementById('dialog');
|
|
const outer = document.getElementById('outer');
|
|
const inner = document.getElementById('inner');
|
|
|
|
if (dialog.style.zIndex === 'auto') {
|
|
dialog.style.zIndex = 9999;
|
|
inner.style.margin = '0px';
|
|
outer.style.height = 'auto';
|
|
} else {
|
|
dialog.style.zIndex = 'auto';
|
|
inner.style.margin = '-197px';
|
|
outer.style.height = '0px';
|
|
}
|
|
});
|