mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 20:03:45 +03:00
ammend
This commit is contained in:
parent
4014f777e0
commit
61eceb7115
|
@ -169,7 +169,6 @@ export default function getProxyEditor(theState) {
|
||||||
|
|
||||||
handleAdd(that, event) {
|
handleAdd(that, event) {
|
||||||
|
|
||||||
console.log('ADD');
|
|
||||||
const form = event.target;
|
const form = event.target;
|
||||||
const elements = Array.from(form.elements).reduce((acc, el, index) => {
|
const elements = Array.from(form.elements).reduce((acc, el, index) => {
|
||||||
|
|
||||||
|
@ -182,7 +181,6 @@ export default function getProxyEditor(theState) {
|
||||||
const hostname = elements.hostname;
|
const hostname = elements.hostname;
|
||||||
const port = elements.port;
|
const port = elements.port;
|
||||||
|
|
||||||
console.log('AA', type, hostname, port);
|
|
||||||
that.props.updateProxyStringRaw(
|
that.props.updateProxyStringRaw(
|
||||||
`${that.props.proxyStringRaw} ${type} ${hostname}:${port};`.trim()
|
`${that.props.proxyStringRaw} ${type} ${hostname}:${port};`.trim()
|
||||||
);
|
);
|
||||||
|
@ -191,7 +189,6 @@ export default function getProxyEditor(theState) {
|
||||||
|
|
||||||
handleSubmit(that, event) {
|
handleSubmit(that, event) {
|
||||||
|
|
||||||
console.log('SUB');
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
that.handleAdd(that, event);
|
that.handleAdd(that, event);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user