Pearx commited on
Commit
4464b65
1 Parent(s): b343213

Update custom.py

Browse files
Files changed (1) hide show
  1. custom.py +4 -4
custom.py CHANGED
@@ -127,13 +127,13 @@ js_code = """
127
  event.preventDefault();
128
  }
129
  });
130
- textinput.addEventListener('focusin', function() {
131
  event.stopPropagation();
132
- baseweb.style.borderColor = 'rgb(255,196,35)';
133
  });
134
- textinput.addEventListener('focusout', function() {
135
  event.stopPropagation();
136
- baseweb.style.borderColor = 'white';
137
  });
138
 
139
  // Ctrl + Enter快捷方式
 
127
  event.preventDefault();
128
  }
129
  });
130
+ textinput.addEventListener('focusin', function(event) {
131
  event.stopPropagation();
132
+ textarea.style.borderColor = 'rgb(255,196,35)';
133
  });
134
+ textinput.addEventListener('focusout', function(event) {
135
  event.stopPropagation();
136
+ textarea.style.borderColor = 'white';
137
  });
138
 
139
  // Ctrl + Enter快捷方式