From 597c96819be6840044e3cde3cf1cf594a3ef15ce Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Sun, 4 Jan 2015 01:34:46 +0000 Subject: [PATCH] Remove strange baseflight reference from the model HTML and CSS. --- tabs/setup.css | 2 +- tabs/setup.html | 2 +- tabs/setup.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tabs/setup.css b/tabs/setup.css index 60843041..19dca296 100644 --- a/tabs/setup.css +++ b/tabs/setup.css @@ -1,4 +1,4 @@ -.tab-setup .CAP_BASEFLIGHT_CONFIG { +.tab-setup .model-and-info { height: calc(100% - 138px); } .tab-setup { diff --git a/tabs/setup.html b/tabs/setup.html index 265e7447..c39cd7aa 100644 --- a/tabs/setup.html +++ b/tabs/setup.html @@ -20,7 +20,7 @@

-
+
diff --git a/tabs/setup.js b/tabs/setup.js index 9e6dc675..6968cca7 100644 --- a/tabs/setup.js +++ b/tabs/setup.js @@ -176,8 +176,8 @@ TABS.setup.initialize3D = function (compatibility) { loader, canvas, wrapper, renderer, camera, scene, light, light2, modelWrapper, model, model_file, fallback = false; - canvas = $('.CAP_BASEFLIGHT_CONFIG #canvas'); - wrapper = $('.CAP_BASEFLIGHT_CONFIG #canvas_wrapper'); + canvas = $('.model-and-info #canvas'); + wrapper = $('.model-and-info #canvas_wrapper'); // webgl capability detector // it would seem the webgl "enabling" through advanced settings will be ignored in the future