sync bootstrapSwitch style with the other tabs (offColor danger) (#11513)

This commit is contained in:
Arjit Chaudhary 2020-05-01 17:43:31 +05:30 committed by GitHub
parent 954cb87e03
commit 08a8f082ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,7 +298,7 @@ If `devices.ignore = 0` or `macros.device = 1` condition is is set and ignore al
</form>
<br />
<script>
$('[type="checkbox"]').bootstrapSwitch();
$('[type="checkbox"]').bootstrapSwitch('offColor', 'danger');
$("#rediscover").click(function() {
var device_id = $(this).data("device_id");