fix lang selection, cleanup drop menus
This commit is contained in:
parent
8967a3bd76
commit
c0d0189072
4 changed files with 69 additions and 47 deletions
|
|
@ -78,7 +78,14 @@ gapp.register("kiri.ui", [], (root, exports) => {
|
|||
confirm,
|
||||
prompt,
|
||||
alert,
|
||||
onBlur
|
||||
onBlur,
|
||||
setVisible(el, bool) {
|
||||
if (bool) {
|
||||
el.classList.remove('hide');
|
||||
} else {
|
||||
el.classList.add('hide');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function onBlur(obj, fn) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue