aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorcky <576779975@qq.com>2018-06-06 16:57:24 +0800
committercky <576779975@qq.com>2018-06-06 16:59:42 +0800
commitc95d9923f7996ca7331e6f1f7f232066ec1d002e (patch)
treeb3a9263d258b7bf64de1672f011c57e9c84d501f /src/js
parent05b85da3f4bd4a390e63ee52eb016a5e9fa9a974 (diff)
downloadplyr-c95d9923f7996ca7331e6f1f7f232066ec1d002e.tar.lz
plyr-c95d9923f7996ca7331e6f1f7f232066ec1d002e.tar.xz
plyr-c95d9923f7996ca7331e6f1f7f232066ec1d002e.zip
fix: https://github.com/sampotts/plyr/issues/1006
Diffstat (limited to 'src/js')
-rw-r--r--src/js/listeners.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/js/listeners.js b/src/js/listeners.js
index 86236fe3..45d6097c 100644
--- a/src/js/listeners.js
+++ b/src/js/listeners.js
@@ -74,7 +74,10 @@ class Listeners {
// and if the focused element is not editable (e.g. text input)
// and any that accept key input http://webaim.org/techniques/keyboard/
const focused = utils.getFocusElement();
- if (utils.is.element(focused) && utils.matches(focused, this.player.config.selectors.editable)) {
+ if (utils.is.element(focused) && (
+ focused !== this.player.elements.inputs.seek &&
+ utils.matches(focused, this.player.config.selectors.editable))
+ ) {
return;
}