aboutsummaryrefslogtreecommitdiff
path: root/src/app/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/index.html')
-rw-r--r--src/app/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/index.html b/src/app/index.html
index ffc31a6..88cfbb5 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -31,11 +31,11 @@
<div class="line">
<div class="text" id="modcount">%%gui.mods%%</div>
<div class="buttons">
- <button id="removemod">%%gui.mods.remove%%</button>
- <button id="removeall">%%gui.mods.removeall%%</button>
- <button id="togglemod">%%gui.mods.toggle%%</button>
- <button id="toggleall">%%gui.mods.toggleall%%</button>
- <button id="installmod">%%gui.mods.install%%</button>
+ <button id="removemod" onclick="selected().remove()">%%gui.mods.remove%%</button>
+ <button id="removeall" onclick="selected(true).remove()">%%gui.mods.removeall%%</button>
+ <button id="togglemod" onclick="selected().toggle()">%%gui.mods.toggle%%</button>
+ <button id="toggleall" onclick="selected(true).toggle(true)">%%gui.mods.toggleall%%</button>
+ <button id="installmod" onclick="installmod()">%%gui.mods.install%%</button>
</div>
</div>
</div>