diff --git a/photo-gallery.html b/photo-gallery.html index 996d691..2268069 100644 --- a/photo-gallery.html +++ b/photo-gallery.html @@ -1,6 +1,6 @@ - + @@ -99,14 +99,15 @@ } - - + + +
-
+
@@ -144,9 +145,6 @@ type: Number, value: -1, notify: true - }, - keyEventTarget: { - type: Object } } } @@ -209,6 +207,7 @@ let rect = item.getBoundingClientRect() slide.src = item.dataset.url slideshow.style.display = 'block' + slideshow.focus() this.anime({ targets: slideshow, top: [rect.top, 0], @@ -271,7 +270,6 @@ ready () { super.ready() - this.keyEventTarget = document.body let grid = this.$.grid this.updateItems()