Skip to content

Commit

Permalink
fix operator precedence confusion in log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed Jan 8, 2025
1 parent 074cda6 commit 80b8857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ class BingWallpaperIndicator extends Button {

if (image)
this.imageIndex = Utils.imageIndex(imageList, image.urlbase);
log('_selectImage: ' + this.selected_image + ' = ' + (image && image.urlbase) ? image.urlbase : 'not found');
log('_selectImage: ' + this.selected_image + ' = ' + (image && image.urlbase ? image.urlbase : 'not found'));
}
}

Expand Down

0 comments on commit 80b8857

Please sign in to comment.