mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-03-12 04:35:47 -07:00
WebUI: locate element faster
This commit is contained in:
parent
b84a51c76d
commit
f8aaea3476
src/webui/www/private/views
@ -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…
x
Reference in New Issue
Block a user