OSDN Git Service
(root)
/
alterlinux
/
lightdm-webkit2-theme-alter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32d266e
)
fixed race condition
author
John-Anthony Elenis
<johnanthonyelenis@gmail.com>
Sat, 24 Aug 2019 17:21:10 +0000
(13:21 -0400)
committer
John-Anthony Elenis
<johnanthonyelenis@gmail.com>
Sat, 24 Aug 2019 17:21:10 +0000
(13:21 -0400)
js/_utils.js
patch
|
blob
|
history
diff --git
a/js/_utils.js
b/js/_utils.js
index
a4138a5
..
b8c19d1
100644
(file)
--- a/
js/_utils.js
+++ b/
js/_utils.js
@@
-40,15
+40,16
@@
class Logger {
</div>
</div>
<!-- End Debug Console -->`);
-
+ this.$log= $("#console .terminal");
+ this.$autoscroll = $("#console input");
+ this.$buttonTrigger = $("#buttonTrigger");
+
window.onerror = (e) => {
this.error(e);
};
$(document).ready(() => {
- this.$log= $("#console .terminal");
- this.$autoscroll = $("#console input");
- this.$buttonTrigger = $("#buttonTrigger");
+
this.$log.keypress(function(e) {
e.preventDefault();