mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 22:22:33 -06:00
WebUI: unify curly bracket usage
This commit is contained in:
@@ -79,9 +79,8 @@
|
||||
$("save").addEvent("click", (e) => {
|
||||
new Event(e).stop();
|
||||
|
||||
if (!isFormValid()) {
|
||||
if (!isFormValid())
|
||||
return false;
|
||||
}
|
||||
|
||||
const shareLimit = getSelectedRadioValue("shareLimit");
|
||||
let ratioLimitValue = 0.00;
|
||||
@@ -124,9 +123,8 @@
|
||||
|
||||
for (let i = 0; i < radios.length; ++i) {
|
||||
const radio = radios[i];
|
||||
if (radio.checked) {
|
||||
if (radio.checked)
|
||||
return (radio).get("value");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user