mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-26 01:35:23 +03:00
Merge pull request #305 from iNavFlight/colorfix
Fix toggle color in OSD Tab
This commit is contained in:
commit
2fef5535ef
1 changed files with 3 additions and 3 deletions
|
@ -91,7 +91,7 @@ GUI_control.prototype.switchery = function() {
|
||||||
$('.togglesmall').each(function(index, elem) {
|
$('.togglesmall').each(function(index, elem) {
|
||||||
var switchery = new Switchery(elem, {
|
var switchery = new Switchery(elem, {
|
||||||
size: 'small',
|
size: 'small',
|
||||||
color: '#ffbb00',
|
color: '#37a8db',
|
||||||
secondaryColor: '#c4c4c4'
|
secondaryColor: '#c4c4c4'
|
||||||
});
|
});
|
||||||
$(elem).on("change", function (evt) {
|
$(elem).on("change", function (evt) {
|
||||||
|
@ -102,7 +102,7 @@ GUI_control.prototype.switchery = function() {
|
||||||
|
|
||||||
$('.toggle').each(function(index, elem) {
|
$('.toggle').each(function(index, elem) {
|
||||||
var switchery = new Switchery(elem, {
|
var switchery = new Switchery(elem, {
|
||||||
color: '#ffbb00',
|
color: '#37a8db',
|
||||||
secondaryColor: '#c4c4c4'
|
secondaryColor: '#c4c4c4'
|
||||||
});
|
});
|
||||||
$(elem).on("change", function (evt) {
|
$(elem).on("change", function (evt) {
|
||||||
|
@ -114,7 +114,7 @@ GUI_control.prototype.switchery = function() {
|
||||||
$('.togglemedium').each(function(index, elem) {
|
$('.togglemedium').each(function(index, elem) {
|
||||||
var switchery = new Switchery(elem, {
|
var switchery = new Switchery(elem, {
|
||||||
className: 'switcherymid',
|
className: 'switcherymid',
|
||||||
color: '#ffbb00',
|
color: '#37a8db',
|
||||||
secondaryColor: '#c4c4c4'
|
secondaryColor: '#c4c4c4'
|
||||||
});
|
});
|
||||||
$(elem).on("change", function (evt) {
|
$(elem).on("change", function (evt) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue