From 1c5c248ceee6540697738f25b133f2467c2ff944 Mon Sep 17 00:00:00 2001 From: Thomas Misilo Date: Fri, 27 Sep 2013 15:04:23 -0400 Subject: [PATCH] Resolves Issue #32. Adding keyboard shortcuts for the galleria theme. --- sigal/themes/galleria/templates/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sigal/themes/galleria/templates/index.html b/sigal/themes/galleria/templates/index.html index ca58edc..1f22380 100644 --- a/sigal/themes/galleria/templates/index.html +++ b/sigal/themes/galleria/templates/index.html @@ -125,6 +125,14 @@ transition: "fade" }); Galleria.run("#gallery"); + + Galleria.ready(function() { + this.attachKeyboard({ + right: this.next, + left: this.prev + }); + }); + {% endif %} {% include 'analytics.html' %}