Skip to content

Commit

Permalink
[10.9-maintenance] Double sliding fix for build configuration panel (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
limonspb committed May 21, 2023
1 parent 4a9251f commit b17f45e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/tabs/firmware_flasher.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ firmware_flasher.initialize = function (callback) {
});

function selectFirmware(release) {
$('div.build_configuration').slideUp();
$('div.build_configuration').hide();
$('div.release_info').slideUp();

if (!self.localFirmwareLoaded) {
Expand All @@ -302,7 +302,7 @@ firmware_flasher.initialize = function (callback) {
self.targetDetail = response;

if (response.cloudBuild === true) {
$('div.build_configuration').slideDown();
$('div.build_configuration').show();

const expertMode = $('.tab-firmware_flasher input.expert_mode').is(':checked');
if (expertMode) {
Expand Down Expand Up @@ -411,7 +411,7 @@ firmware_flasher.initialize = function (callback) {

$('div.git_info').slideUp();
$('div.release_info').slideUp();
$('div.build_configuration').slideUp();
$('div.build_configuration').hide();

if (!self.localFirmwareLoaded) {
self.enableFlashing(false);
Expand Down Expand Up @@ -731,7 +731,7 @@ firmware_flasher.initialize = function (callback) {

// hide github info (if it exists)
$('div.git_info').slideUp();
$('div.build_configuration').slideUp();
$('div.build_configuration').hide();

chrome.fileSystem.getDisplayPath(fileEntry, function (path) {
console.log('Loading file from:', path);
Expand Down

0 comments on commit b17f45e

Please sign in to comment.