diff options
author | skaman82 <albert@wd-design.de> | 2015-11-12 00:08:19 +0300 |
---|---|---|
committer | skaman82 <albert@wd-design.de> | 2015-11-12 00:08:19 +0300 |
commit | 08803434884974cacc1b1aa9b193fac26ffc4499 (patch) | |
tree | d4e017a43275024d9c1fd6eba73a1e5d0dd996f9 /main.js | |
parent | afe716a78ac973051d64ee03309dfbca4cb3495f (diff) | |
parent | 504e494a4f3af02920c2ddef66c2dd6b9ea13d3d (diff) |
Merge remote-tracking branch 'cleanflight/development' into GUI-rework
# Conflicts:
# main.js
# tabs/landing.js
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 65 |
1 files changed, 0 insertions, 65 deletions
@@ -101,66 +101,6 @@ $(document).ready(function () { function content_ready() { GUI.tab_switch_in_progress = false; - - $('.togglesmall').each(function(index, html) { - var switchery = new Switchery(html, - { - size: 'small', - color: '#59aa29', - secondaryColor: '#c4c4c4' - }); - - $(html).removeClass('togglesmall'); - }); - - $('.toggle').each(function(index, html) { - var switchery = new Switchery(html, - { - color: '#59aa29', - secondaryColor: '#c4c4c4' - }); - - $(html).removeClass('toggle'); - }); - - $('.togglemedium').each(function(index, html) { - var switchery = new Switchery(html, - { - className: 'switcherymid', - color: '#59aa29', - secondaryColor: '#c4c4c4' - }); - - $(html).removeClass('togglemedium'); - }); - - - // loading tooltip - jQuery(document).ready(function($) { - $('cf_tip').each(function() { // Grab all ".cf_tip" elements, and for each... - log(this); // ...print out "this", which now refers to each ".cf_tip" DOM element - }); - - $('.cf_tip').each(function() { - $(this).jBox('Tooltip', { - content: $(this).children('.cf_tooltiptext'), - delayOpen: 100, - delayClose: 100, - position: { - x: 'right', - y: 'center' - }, - outside: 'x' - }); - }); - }); - - - - // Build link to in-use CF version documentation - var documentationButton = $('div#content #button-documentation'); - documentationButton.html("Documentation for "+CONFIG.flightControllerVersion); - documentationButton.attr("href","https://github.com/cleanflight/cleanflight/tree/v{0}/docs".format(CONFIG.flightControllerVersion)); } switch (tab) { @@ -449,8 +389,3 @@ $("#showlog").on('click', function() { }); - - -// loading tooltip PLACEHOLDER - - |