mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-07 07:37:24 +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();
|
addCookie();
|
||||||
});
|
});
|
||||||
|
|
||||||
document.querySelector("#saveButton").addEventListener("click", (event) => {
|
document.getElementById("saveButton").addEventListener("click", (event) => {
|
||||||
save();
|
save();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
</select>
|
</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">
|
<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>
|
||||||
|
|
||||||
<div id="logFilterSummary">
|
<div id="logFilterSummary">
|
||||||
|
|
Loading…
Reference in a new issue