Skip to content

Commit

Permalink
Update uiUtil.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Nov 14, 2022
1 parent ae5b9b7 commit 2e86f76
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions www/js/lib/uiUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ define(rqDef, function(settingsStore) {
});
}
}
$("#searchingArticles").hide();
document.getElementById('searchingArticles').style.display = 'none';
}

/**
Expand Down Expand Up @@ -422,52 +422,52 @@ define(rqDef, function(settingsStore) {
if (!$('#configuration').is(':hidden')) {
$('#configuration').addClass('slideOut_R');
setTimeout(function () {
$('#configuration').hide();
document.getElementById('configuration').style.display = 'none';
}, 300);
}
if (!$('#about').is(':hidden')) {
$('#about').addClass('slideOut_R');
setTimeout(function () {
$('#about').hide();
document.getElementById('about').style.display = 'none';
}, 300);
}
$('#articleContent').addClass('slideIn_R');
setTimeout(function () {
$('#articleContent').show();
document.getElementById('articleContent').style.display = '';
}, 300);
} else if (section == 'config') {
if (!$('#about').is(':hidden')) {
$('#about').addClass('slideOut_R');
$('#configuration').addClass('slideIn_R');
setTimeout(function () {
$('#about').hide();
document.getElementById('about').style.display = 'none';
}, 300);
} else if (!$('#articleContent').is(':hidden')) {
$('#articleContent').addClass('slideOut_L');
$('#configuration').addClass('slideIn_L');
setTimeout(function () {
$('#articleContent').hide();
document.getElementById('articleContent').style.display = 'none';
}, 300);
}
setTimeout(function () {
$('#configuration').show();
document.getElementById('configuration').style.display = '';
}, 300);
} else if (section == 'about') {
if (!$('#configuration').is(':hidden')) {
$('#configuration').addClass('slideOut_L');
setTimeout(function () {
$('#configuration').hide();
document.getElementById('configuration').style.display = 'none';
}, 300);
}
if (!$('#articleContent').is(':hidden')) {
$('#articleContent').addClass('slideOut_L');
setTimeout(function () {
$('#articleContent').hide();
document.getElementById('articleContent').style.display = 'none';
}, 300);
}
$('#about').addClass('slideIn_L');
setTimeout(function () {
$('#about').show();
document.getElementById('about').style.display = '';
}, 300);
}
}
Expand Down

0 comments on commit 2e86f76

Please sign in to comment.