Skip to content

Commit 6fe8f5b

Browse files
committed
FIX: ncase#14 ...probably (F11 for fullscreen)
1 parent 86cb925 commit 6fe8f5b

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pages:
2626
- public
2727

2828
OK_publish:
29-
when: manual
29+
#when: manual
3030
stage: prod
3131
image: liaohuqiu/rsync
3232
before_script:
@@ -41,18 +41,3 @@ OK_publish:
4141
only:
4242
- tags
4343

44-
Oups_WiP:
45-
when: manual
46-
stage: preview
47-
image: liaohuqiu/rsync
48-
before_script:
49-
- eval $(ssh-agent -s)
50-
- ssh-add <(echo "$SSH_PRIVATE_KEY")
51-
- mkdir -p ~/.ssh
52-
- >-
53-
[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >
54-
~/.ssh/config
55-
script:
56-
- rsync -az -e ssh ./public/WiP/ gammanu@1000i100.fr:~/lo0p.it
57-
only:
58-
- tags

2/js/Key.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
if(window.loopy && loopy.modal && loopy.modal.isShowing) return;
2727
// noinspection JSDeprecatedSymbols
2828
const code = KEY_CODES[event.keyCode];
29+
if(!code) return;
2930
Key[code] = true;
3031
publish("key/"+code);
3132
event.stopPropagation();
@@ -35,6 +36,7 @@
3536
if(window.loopy && loopy.modal && loopy.modal.isShowing) return;
3637
// noinspection JSDeprecatedSymbols
3738
const code = KEY_CODES[event.keyCode];
39+
if(!code) return;
3840
Key[code] = false;
3941
event.stopPropagation();
4042
event.preventDefault();

0 commit comments

Comments
 (0)