mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
give the two radio buttons in custom select each an ID, and exclude them when theming radio buttons
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -133,7 +133,7 @@ function initCheckboxRadioStyle() {
|
||||
|
||||
function applyCheckboxRadioStyle(style) {
|
||||
boxsheet.attr("href", getCheckboxURL(style));
|
||||
var sel = $("input[type='radio'],input[type='checkbox']");
|
||||
var sel = $("input[type='radio'],input[type='checkbox']").not("#selSec").not("#selMin");
|
||||
sel.parent().removeClass();
|
||||
sel.parent().addClass("icheck-" + style);
|
||||
}
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
<input id="customTimeout" class="form-control" type="number" value="60">
|
||||
<div class="input-group-btn" data-toggle="buttons">
|
||||
<label class="btn btn-default">
|
||||
<input type="radio"> Secs
|
||||
<input id="selSec" type="radio"> Secs
|
||||
</label>
|
||||
<label id="btnMins" class="btn btn-default active">
|
||||
<input type="radio"> Mins
|
||||
<input id="selMin" type="radio"> Mins
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user