Remove strange baseflight reference from the model HTML and CSS.

10.3.x-maintenance
Dominic Clifton 2015-01-04 01:34:46 +00:00
parent dfdb5cd99d
commit 597c96819b
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.tab-setup .CAP_BASEFLIGHT_CONFIG {
.tab-setup .model-and-info {
height: calc(100% - 138px);
}
.tab-setup {

View File

@ -20,7 +20,7 @@
<p i18n="initialSetupBackupRestoreText">
</p>
</div>
<div class="CAP_BASEFLIGHT_CONFIG">
<div class="model-and-info">
<div id="interactive_block">
<div id="canvas_wrapper">
<canvas id="canvas"></canvas>

View File

@ -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