Suggested Changes

Implemented suggested changes
This commit is contained in:
birdhouse 2019-06-25 00:03:36 +02:00
parent 4632a1f5c3
commit 2efbaa6175

View File

@ -52,7 +52,7 @@ $(document).ready( function() {
{ {
var components = window.comps; var components = window.comps;
var components_html = ""; var components_html = "";
for ( var idx=0; idx<components.length;idx++) for (var idx=0; idx<components.length;idx++)
{ {
if(components[idx].name != "ALL") if(components[idx].name != "ALL")
components_html += '<tr><td>'+$.i18n('general_comp_'+components[idx].name)+'</td><td><i class="fa fa-circle component-'+(components[idx].enabled?"on":"off")+'"></i></td></tr>'; components_html += '<tr><td>'+$.i18n('general_comp_'+components[idx].name)+'</td><td><i class="fa fa-circle component-'+(components[idx].enabled?"on":"off")+'"></i></td></tr>';
@ -83,7 +83,7 @@ $(document).ready( function() {
$.get( window.gitHubReleaseApiUrl, function( releases ) { $.get( window.gitHubReleaseApiUrl, function( releases ) {
window.gitHubVersionList = releases; window.gitHubVersionList = releases;
for(i in releases) for(var i in releases)
{ {
if(releases[i].prerelease == true) if(releases[i].prerelease == true)
{ {