Skip to content

Commit

Permalink
released v3.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 18, 2020
1 parent 0bfabfa commit cfb2061
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dist/hotkeys.common.js
@@ -1,5 +1,5 @@
/*!
* hotkeys-js v3.8.0
* hotkeys-js v3.8.1
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2020 kenny wong <wowohoo@qq.com>
Expand Down Expand Up @@ -172,7 +172,7 @@ function filter(event) {
var tagName = target.tagName;
var flag = true; // ignore: isContentEditable === 'true', <input> and <textarea> when readOnly state is false, <select>

if (target.isContentEditable || (tagName === 'INPUT' || tagName === 'TEXTAREA') && !target.readOnly) {
if (target.isContentEditable || (tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT') && !target.readOnly) {
flag = false;
}

Expand Down
4 changes: 2 additions & 2 deletions dist/hotkeys.common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/hotkeys.esm.js
@@ -1,5 +1,5 @@
/*!
* hotkeys-js v3.8.0
* hotkeys-js v3.8.1
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2020 kenny wong <wowohoo@qq.com>
Expand Down Expand Up @@ -170,7 +170,7 @@ function filter(event) {
var tagName = target.tagName;
var flag = true; // ignore: isContentEditable === 'true', <input> and <textarea> when readOnly state is false, <select>

if (target.isContentEditable || (tagName === 'INPUT' || tagName === 'TEXTAREA') && !target.readOnly) {
if (target.isContentEditable || (tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT') && !target.readOnly) {
flag = false;
}

Expand Down
4 changes: 2 additions & 2 deletions dist/hotkeys.js
@@ -1,5 +1,5 @@
/*!
* hotkeys-js v3.8.0
* hotkeys-js v3.8.1
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2020 kenny wong <wowohoo@qq.com>
Expand Down Expand Up @@ -176,7 +176,7 @@
var tagName = target.tagName;
var flag = true; // ignore: isContentEditable === 'true', <input> and <textarea> when readOnly state is false, <select>

if (target.isContentEditable || (tagName === 'INPUT' || tagName === 'TEXTAREA') && !target.readOnly) {
if (target.isContentEditable || (tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT') && !target.readOnly) {
flag = false;
}

Expand Down

0 comments on commit cfb2061

Please sign in to comment.