Resolves Issue #32. Adding keyboard shortcuts for the galleria theme.
This commit is contained in:
@@ -125,6 +125,14 @@
|
||||
transition: "fade"
|
||||
});
|
||||
Galleria.run("#gallery");
|
||||
|
||||
Galleria.ready(function() {
|
||||
this.attachKeyboard({
|
||||
right: this.next,
|
||||
left: this.prev
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
{% endif %}
|
||||
{% include 'analytics.html' %}
|
||||
|
||||
Reference in New Issue
Block a user