Fixes for zones menu on freaking Arch.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "alfis"
|
||||
version = "0.4.35"
|
||||
version = "0.4.36"
|
||||
authors = ["Revertron <alfis@revertron.com>"]
|
||||
edition = "2018"
|
||||
build = "build.rs"
|
||||
|
||||
@@ -490,7 +490,7 @@ function keystoreChanged(path, pub_key, hash) {
|
||||
|
||||
function closeZonesDropdown() {
|
||||
var active = document.activeElement;
|
||||
if (active == null || active.id != 'zones-menu') {
|
||||
if (active == null || (active.id != 'zones-menu' && active.tagName != 'BODY')) {
|
||||
document.getElementById("zones-dropdown").className = "dropdown";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user