diff --git a/frontend/elements/photo-lightbox.html b/frontend/elements/photo-lightbox.html
index 9b36340..d3ae966 100644
--- a/frontend/elements/photo-lightbox.html
+++ b/frontend/elements/photo-lightbox.html
@@ -21,7 +21,6 @@
background-color: rgba(0, 0, 0, 0.8);
transition: opacity 0.5s ease-in-out;
-webkit-transition: opacity 0.5s ease-in-out;
- border-width: 5px;
box-sizing: border-box;
pointer-events: all;
}
@@ -175,8 +174,8 @@ Polymer({
open: function() {
this.closed = false;
this.opened = true;
+ this.loadImage(this.src);
this.style.opacity = 1;
- this.style.borderColor = 'blue';
this.style.display = 'block';
this.focus();
},
@@ -203,7 +202,6 @@ Polymer({
this.$.image.style.backgroundImage = 'url("' + this.image.src + '")';
this.$.image.style.opacity = 1;
- this.style.borderColor = 'black';
this.image = undefined;
}, remaining);
}.bind(this, image);