diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-17 14:55:17 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-17 14:55:17 +0200 |
| commit | 0645d1ada0ad41cc9e53b1b3f452ecc35b35ab12 (patch) | |
| tree | 89ad778f6efc10fe0b74672d3900522d3ec6a3a6 | |
| parent | 5cd2f7d4f985e97580617c1bafc830054eea73da (diff) | |
space on buttons
| -rw-r--r-- | public/assets/js/lib/views/details/audio.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/details/audio.js b/public/assets/js/lib/views/details/audio.js index c876520..3fa0b70 100644 --- a/public/assets/js/lib/views/details/audio.js +++ b/public/assets/js/lib/views/details/audio.js @@ -67,7 +67,7 @@ var audio = (function(){ audio.keydown = function(e){ function element_is_text_input(el) { var tagName = el.tagName.toLowerCase() - return (tagName == 'input' && el.type == 'text' || tagName == 'textarea') + return (tagName == 'input' && el.type == 'text' || tagName == 'textarea' || tagName == 'button') } if (element_is_text_input(document.activeElement)) { return |
