Skip to content

Commit

Permalink
v1.9.23
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Dec 1, 2023
1 parent a4a112c commit a7cef91
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion copyparty/__version__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8

VERSION = (1, 9, 22)
VERSION = (1, 9, 23)
CODENAME = "prometheable"
BUILD_DT = (2023, 12, 1)

Expand Down
6 changes: 4 additions & 2 deletions copyparty/web/md2.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 4 additions & 2 deletions copyparty/web/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a7cef91

Please sign in to comment.