This commit is contained in:
ed 2023-12-01 00:39:49 +00:00
parent a4a112c0ee
commit a7cef91b8b
3 changed files with 9 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# coding: utf-8
VERSION = (1, 9, 22)
VERSION = (1, 9, 23)
CODENAME = "prometheable"
BUILD_DT = (2023, 12, 1)

View file

@ -933,8 +933,10 @@ var set_lno = (function () {
var keydown = function (ev) {
if (!ev && window.event) {
ev = window.event;
toast.warn(10, 'hello from fallback code ;_;\ncheck console trace');
console.error('using window.event');
if (localStorage.dev_fbw == 1) {
toast.warn(10, 'hello from fallback code ;_;\ncheck console trace');
console.error('using window.event');
}
}
var kc = ev.code || ev.keyCode || ev.which,
editing = document.activeElement == dom_src;

View file

@ -279,8 +279,10 @@ function anymod(e, shift_ok) {
function ev(e) {
if (!e && window.event) {
e = window.event;
toast.warn(10, 'hello from fallback code ;_;\ncheck console trace');
console.error('using window.event');
if (localStorage.dev_fbw == 1) {
toast.warn(10, 'hello from fallback code ;_;\ncheck console trace');
console.error('using window.event');
}
}
if (!e)
return;