[10.9-maintenance] Double sliding fix for build configuration panel (#3456)

10.9-maintenance
Ivan Efimov 2023-05-21 16:32:37 -05:00 committed by GitHub
parent 4a9251f174
commit b17f45ef63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -282,7 +282,7 @@ firmware_flasher.initialize = function (callback) {
}); });
function selectFirmware(release) { function selectFirmware(release) {
$('div.build_configuration').slideUp(); $('div.build_configuration').hide();
$('div.release_info').slideUp(); $('div.release_info').slideUp();
if (!self.localFirmwareLoaded) { if (!self.localFirmwareLoaded) {
@ -302,7 +302,7 @@ firmware_flasher.initialize = function (callback) {
self.targetDetail = response; self.targetDetail = response;
if (response.cloudBuild === true) { if (response.cloudBuild === true) {
$('div.build_configuration').slideDown(); $('div.build_configuration').show();
const expertMode = $('.tab-firmware_flasher input.expert_mode').is(':checked'); const expertMode = $('.tab-firmware_flasher input.expert_mode').is(':checked');
if (expertMode) { if (expertMode) {
@ -411,7 +411,7 @@ firmware_flasher.initialize = function (callback) {
$('div.git_info').slideUp(); $('div.git_info').slideUp();
$('div.release_info').slideUp(); $('div.release_info').slideUp();
$('div.build_configuration').slideUp(); $('div.build_configuration').hide();
if (!self.localFirmwareLoaded) { if (!self.localFirmwareLoaded) {
self.enableFlashing(false); self.enableFlashing(false);
@ -731,7 +731,7 @@ firmware_flasher.initialize = function (callback) {
// hide github info (if it exists) // hide github info (if it exists)
$('div.git_info').slideUp(); $('div.git_info').slideUp();
$('div.build_configuration').slideUp(); $('div.build_configuration').hide();
chrome.fileSystem.getDisplayPath(fileEntry, function (path) { chrome.fileSystem.getDisplayPath(fileEntry, function (path) {
console.log('Loading file from:', path); console.log('Loading file from:', path);