Skip to content

Commit 14dd19f

Browse files
committed
add toggle button for 'background mode', listening with no graphics. fixes #18 and may help with fixing #16.
1 parent 341e5b7 commit 14dd19f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

static/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@
185185
$('#titles').click(
186186
make_click_handler($('#titles'), 'notitles')
187187
);
188+
$('#background_mode').click(
189+
function() {$("#area svg").toggle();}
190+
);
188191
$('#hide_rc_box').click(
189192
function() {$("#rc-log").toggle();}
190193
);
@@ -331,7 +334,8 @@ <h3>Settings</h3>
331334
<label for='titles'>Hide article titles</label></p>
332335
<p><input type="checkbox" name="hide_rc_box" id="hide_rc_box">
333336
<label for="hide_rc_box">Hide recent changes console</label></p>
334-
337+
<p><input type="checkbox" name="background_mode" id="background_mode">
338+
<label for="background_mode">Hide graphics for background listening</label></p>
335339
<h3>Languages</h3>
336340
<div id='lang-boxes'> </div>
337341
<div class='clear'><br/></div>

0 commit comments

Comments
 (0)