Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiapezzotti committed Aug 9, 2024
1 parent d77cd37 commit c6dfe56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/renderer/photos.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function rendererPhotos(context) {
};

photos.setFromYearFilter = function(year, updateUrl){

_yearSliderValue = year;

if (year !== 5) {
Expand All @@ -119,7 +119,7 @@ export function rendererPhotos(context) {
fromDate = mm + '/' + dd + '/' + yyyy;
photos.setDateFilter('fromDate', fromDate, updateUrl);
} else {
photos.setDateFilter('fromDate', null, updateUrl);
photos.setDateFilter('fromDate', null, updateUrl);
}

if (updateUrl) {
Expand Down
3 changes: 1 addition & 2 deletions modules/svg/panoramax_images.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export function svgPanoramaxImages(projection, context, dispatch) {
let layer = d3_select(null);
let _panoramax;
let _viewerYaw = 0;
let _selectedSequence;
let _activeUsernameFilter;
let _activeIds;

Expand Down Expand Up @@ -211,7 +210,7 @@ export function svgPanoramaxImages(projection, context, dispatch) {

let isHidden = d3_select('.photo-wrapper.panoramax-wrapper.hide').size();

if(isHidden) service.setActiveImage(null);
if (isHidden) service.setActiveImage(null);

images = await filterImages(images);
sequences = await filterSequences(sequences, service);
Expand Down

0 comments on commit c6dfe56

Please sign in to comment.