mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-05 14:47:25 +03:00
WebUI: locate element faster
This commit is contained in:
parent
b84a51c76d
commit
f8aaea3476
2 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@
|
|||
addCookie();
|
||||
});
|
||||
|
||||
document.querySelector("#saveButton").addEventListener("click", (event) => {
|
||||
document.getElementById("saveButton").addEventListener("click", (event) => {
|
||||
save();
|
||||
});
|
||||
};
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
</select>
|
||||
|
||||
<input type="text" id="filterTextInput" oninput="window.qBittorrent.Log.filterTextChanged()" placeholder="QBT_TR(Filter logs)QBT_TR[CONTEXT=ExecutionLogWidget]" aria-label="QBT_TR(Filter logs)QBT_TR[CONTEXT=ExecutionLogWidget]" autocomplete="off" autocorrect="off" autocapitalize="none">
|
||||
<button type="button" title="Clear input" onclick="javascript:document.querySelector('#filterTextInput').value='';window.qBittorrent.Log.filterTextChanged();">QBT_TR(Clear)QBT_TR[CONTEXT=ExecutionLogWidget]</button>
|
||||
<button type="button" title="Clear input" onclick="javascript:document.getElementById('filterTextInput').value='';window.qBittorrent.Log.filterTextChanged();">QBT_TR(Clear)QBT_TR[CONTEXT=ExecutionLogWidget]</button>
|
||||
</div>
|
||||
|
||||
<div id="logFilterSummary">
|
||||
|
|
Loading…
Reference in a new issue