Skip to content

Commit

Permalink
webui/js: fix confusion caused by force push
Browse files Browse the repository at this point in the history
m-m-m-my bad
  • Loading branch information
backslashxx committed Dec 9, 2024
1 parent eba5bf8 commit bc4324d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/webroot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ document.getElementById("reset-mode").addEventListener("click", () => {
toggleContainer.addEventListener('click', async function() {
try {
toggleVersion.checked = !toggleVersion.checked;
const result = await execCommand("su -c 'sh /data/adb/modules/bindhosts/action.sh --toggle-updates'");
const result = await execCommand("su -c 'sh /data/adb/modules/bindhosts/action.sh --toggle-updatejson'");
const lines = result.split("\n");
lines.forEach(line => {
if (line.includes("[+]")) {
Expand Down Expand Up @@ -506,4 +506,4 @@ async function execCommand(command) {
reject(error);
}
});
}
}

0 comments on commit bc4324d

Please sign in to comment.