mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Use the iCheck library for input box styling.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -100,6 +100,15 @@ $(document).ready(function () {
|
||||
if (seconds > 0) {
|
||||
setTimeout(countDown, 100);
|
||||
}
|
||||
if (!testCookies() && $("#cookieInfo").length) {
|
||||
$("#cookieInfo").show();
|
||||
}
|
||||
|
||||
var checkbox_theme = $("#checkbox_theme").text();
|
||||
$('input').icheck({
|
||||
checkboxClass: 'icheckbox_' + checkbox_theme,
|
||||
radioClass: 'iradio_' + checkbox_theme
|
||||
});
|
||||
});
|
||||
|
||||
// Handle Enable/Disable
|
||||
|
||||
Reference in New Issue
Block a user