mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
WebUI: enforce usage of const whenever possible
This commit is contained in:
@@ -435,7 +435,7 @@ window.qBittorrent.Search = (function() {
|
||||
const isSearchRunning = state && state.running;
|
||||
if (!isSearchRunning || searchPatternChanged) {
|
||||
const pattern = $("searchPattern").getProperty("value").trim();
|
||||
let category = $("categorySelect").getProperty("value");
|
||||
const category = $("categorySelect").getProperty("value");
|
||||
const plugins = $("pluginsSelect").getProperty("value");
|
||||
|
||||
if (!pattern || !category || !plugins)
|
||||
|
||||
Reference in New Issue
Block a user