Skip to content

Commit

Permalink
qqq
Browse files Browse the repository at this point in the history
  • Loading branch information
zxlhhyccc committed Dec 22, 2024
1 parent 4735743 commit 823dae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
document.getElementsByName('cbid.shadowsocksr.' + sid + '.transport')[0].value =
params.get("type") == "http" ? "h2" :
(["tcp", "raw"].includes(params.get("type")) ? "raw" :
(params.get("type") || "tcp"));
(params.get("type") || "raw"));
document.getElementsByName('cbid.shadowsocksr.' + sid + '.transport')[0].dispatchEvent(event);
switch (params.get("type")) {
case "ws":
Expand Down Expand Up @@ -474,4 +474,4 @@
</script>
<input type="button" class="btn cbi-button cbi-button-apply" value="<%:Import%>" onclick="return import_ssr_url(this, '<%=self.option%>', '<%=self.value%>')" />
<span id="<%=self.option%>-status"></span>
<%+cbi/valuefooter%>
<%+cbi/valuefooter%>

0 comments on commit 823dae5

Please sign in to comment.