Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erohtar committed Dec 5, 2022
1 parent 3fc8f87 commit 5f635c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions www/include/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ window.onload = function() {
//create widgets
if (gSettings.widgets.length > 0)
{
document.getElementById('areaWidgets').style = 'display:flex;';

for (let n1 = 0; n1 < gSettings.widgets.length; n1++) {
if (gSettings.widgets[n1].disable) {
//allows quickly disabling a widget
continue;
}
document.getElementById('areaWidgets').style = 'display:flex;';

//glances
if(gSettings.widgets[n1].type === "glances") {
Expand Down

0 comments on commit 5f635c8

Please sign in to comment.