diff options
author | skaman82 <albert@wd-design.de> | 2015-11-10 11:38:43 +0300 |
---|---|---|
committer | skaman82 <albert@wd-design.de> | 2015-11-10 11:38:43 +0300 |
commit | b6b2812271822d89c1043e0f2bca5c659571764e (patch) | |
tree | 1faeb06675450930c86542326ff4e8d21862cfab /main.js | |
parent | f67a82ba7cb1703d17ef53a4a6290666b668a71c (diff) |
Fixing toggle buttons and the motors tab
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -123,6 +123,17 @@ $(document).ready(function () { $(html).removeClass('toggle'); }); + $('.togglemedium').each(function(index, html) { + var switchery = new Switchery(html, + { + className: 'switcherymid', + color: '#59aa29', + secondaryColor: '#c4c4c4' + }); + + $(html).removeClass('toggle'); + }); + // Build link to in-use CF version documentation var documentationButton = $('div#content #button-documentation'); documentationButton.html("Documentation for "+CONFIG.flightControllerVersion); |