fix input hot key conflict

This commit is contained in:
Stewart Allen 2018-06-21 16:26:50 -04:00
commit e7981e2818
2 changed files with 3 additions and 2 deletions

View file

@ -1944,7 +1944,8 @@ self.kiri.license = exports.LICENSE;
function modalShowing() {
var showing = false;
["modal","catalog","devices","tools"].forEach(function(dialog) {
showing = showing || UI[dialog].style.display === 'block';
var state = UI[dialog].style.display
showing = showing || state !== 'none';
});
return showing || UC.isPopped();
}