![]()
-
-
+
1000 && index < postFixes.length - 1) {
@@ -42,7 +42,7 @@ export class InfoPanelLightboxComponent {
getDate() {
const date = new Date(this.photo.metadata.creationDate);
- let locale = 'en-us';
+ const locale = 'en-us';
return date.toLocaleString(locale, {month: 'long'}) + ' ' + date.getDate();
}
@@ -53,7 +53,7 @@ export class InfoPanelLightboxComponent {
getDay() {
const date = new Date(this.photo.metadata.creationDate);
- let locale = 'en-us';
+ const locale = 'en-us';
return date.toLocaleString(locale, {weekday: 'long'});
}
@@ -76,7 +76,7 @@ export class InfoPanelLightboxComponent {
let str = this.photo.metadata.positionData.city ||
this.photo.metadata.positionData.state;
- if (str.length != 0) {
+ if (str.length !== 0) {
str += ', ';
}
str += this.photo.metadata.positionData.country;
diff --git a/frontend/app/gallery/lightbox/lightbox.gallery.component.css b/frontend/app/gallery/lightbox/lightbox.gallery.component.css
index 00387c33..5c706ca5 100644
--- a/frontend/app/gallery/lightbox/lightbox.gallery.component.css
+++ b/frontend/app/gallery/lightbox/lightbox.gallery.component.css
@@ -9,7 +9,7 @@
cursor: pointer;
}
-gallery-lightbox-photo {
+app-gallery-lightbox-photo {
overflow: hidden;
}
@@ -120,7 +120,7 @@ gallery-lightbox-photo {
animation: blink 3s ease-in-out infinite;
}
-info-panel {
+app-info-panel {
z-index: 1100; /* Sit on top */
position: fixed;
height: 100vh;
diff --git a/frontend/app/gallery/lightbox/lightbox.gallery.component.html b/frontend/app/gallery/lightbox/lightbox.gallery.component.html
index 4cc6e6d0..8a6570e3 100644
--- a/frontend/app/gallery/lightbox/lightbox.gallery.component.html
+++ b/frontend/app/gallery/lightbox/lightbox.gallery.component.html
@@ -5,11 +5,11 @@
-