Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskaman82 <albert@wd-design.de>2015-11-12 00:08:19 +0300
committerskaman82 <albert@wd-design.de>2015-11-12 00:08:19 +0300
commit08803434884974cacc1b1aa9b193fac26ffc4499 (patch)
treed4e017a43275024d9c1fd6eba73a1e5d0dd996f9 /main.js
parentafe716a78ac973051d64ee03309dfbca4cb3495f (diff)
parent504e494a4f3af02920c2ddef66c2dd6b9ea13d3d (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.js65
1 files changed, 0 insertions, 65 deletions
diff --git a/main.js b/main.js
index 44763056..8abda2b3 100644
--- a/main.js
+++ b/main.js
@@ -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
-
-