Commit fcbf0c87 by Semenenko Timofey

keyup id 39 37

1 parent 180a2eee
Pipeline #2817 for fcbf0c87 skipped in 0 seconds
...@@ -17160,4 +17160,19 @@ jQuery.event.special.dblclick = { ...@@ -17160,4 +17160,19 @@ jQuery.event.special.dblclick = {
} }
App.win.on('resize', updateHeight).trigger('resize'); App.win.on('resize', updateHeight).trigger('resize');
})(jQuery);
\ No newline at end of file \ No newline at end of file
})(jQuery);
jQuery(document.documentElement).keyup(function (event) {
var owl = jQuery(".project-gallery-items");
// handle cursor keys
if (event.keyCode == 37) {
// go left
imagesContainer.prevAll('.js-project-gallery-next');
} else if (event.keyCode == 39) {
// go right
imagesContainer.prevAll('.js-project-gallery-next');
}
});
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!