mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
WebUI: Replace Mootools class list manipulation methods
All `addClass()`, `removeClass()` and `hasClass()` instances were changed to use `classList` equivalent: https://developer.mozilla.org/en-US/docs/Web/API/Element/classList PR #21946. --------- Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
@@ -215,7 +215,7 @@
|
||||
const pref = window.parent.qBittorrent.Cache.preferences.get();
|
||||
|
||||
if (!pref.rss_processing_enabled)
|
||||
$("rssFetchingDisabled").removeClass("invisible");
|
||||
$("rssFetchingDisabled").classList.remove("invisible");
|
||||
|
||||
const rssFeedContextMenu = new window.qBittorrent.ContextMenu.RssFeedContextMenu({
|
||||
targets: "#rssFeedTableDiv tr",
|
||||
|
||||
Reference in New Issue
Block a user