Skip to content

Commit

Permalink
fix: fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Mar 2, 2024
1 parent f427a00 commit 724ed06
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/web/user_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ <h2 class="subtitle">根据您的客户端一键选择</h2>
<div class="dropdown-menu" id="dropdown-menu3" role="menu">
{% for client in supported_clients %}
<div class="dropdown-content">
<a class="dropdown-item"
data-display="{{ client }}"
data-query="{{ client }}">{{ client }}</a>
<a class="dropdown-item" data-display="{{ client }}" data-query="client">{{ client }}</a>
</div>
{% endfor %}
</div>
Expand Down Expand Up @@ -364,7 +362,7 @@ <h2 class="subtitle">根据您的客户端一键选择</h2>

// gen sublink
url = new URL(subInput.value)
url.searchParams.set("client", $(this).data("display"))
url.searchParams.set($(this).data("query"), $(this).data("display"))
subInput.value = url.toString()
});

Expand Down

0 comments on commit 724ed06

Please sign in to comment.