From 649b869c02a2f79cd10d21de9ac7abd6f8634824 Mon Sep 17 00:00:00 2001 From: Dano Alexander Date: Thu, 12 Jun 2014 11:23:13 -0700 Subject: [PATCH] Registered keyup as an eventType For play/pause button keyboard accessibility --- jquery.flexslider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.flexslider.js b/jquery.flexslider.js index e6578d21..325f9d14 100644 --- a/jquery.flexslider.js +++ b/jquery.flexslider.js @@ -18,7 +18,7 @@ touch = (( "ontouchstart" in window ) || msGesture || window.DocumentTouch && document instanceof DocumentTouch) && slider.vars.touch, // depricating this idea, as devices are being released with both of these events //eventType = (touch) ? "touchend" : "click", - eventType = "click touchend MSPointerUp", + eventType = "click touchend MSPointerUp keyup", watchedEvent = "", watchedEventClearTimer, vertical = slider.vars.direction === "vertical",