sock5 gui part

This commit is contained in:
open-trade
2022-01-05 18:34:30 +08:00
parent 12ab22e048
commit c0b6367137
7 changed files with 111 additions and 6 deletions

View File

@@ -360,8 +360,9 @@ class PasswordComponent: Reactor.Component {
var start = el.xcall(#selectionStart) || 0;
var end = el.xcall(#selectionEnd);
this.update({ visible: !this.visible });
var me = this;
self.timer(30ms, function() {
var el = this.$(input);
var el = me.$(input);
view.focus = el;
el.value = value;
el.xcall(#setSelection, start, end);