- Build: Update dist
This commit is contained in:
3
dist/index-es.js
vendored
3
dist/index-es.js
vendored
@@ -21193,6 +21193,7 @@ function SvgCanvas(container, config) {
|
|||||||
* Original idea by:
|
* Original idea by:
|
||||||
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
|
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
|
||||||
*/
|
*/
|
||||||
|
// We *do* want to allow the escape key within textareas (and possibly tab too), so add the condition `n.which !== 27`
|
||||||
function jqPluginJSHotkeys (b) {
|
function jqPluginJSHotkeys (b) {
|
||||||
b.hotkeys = {
|
b.hotkeys = {
|
||||||
version: "0.8",
|
version: "0.8",
|
||||||
@@ -21283,7 +21284,7 @@ function jqPluginJSHotkeys (b) {
|
|||||||
e = d.data.toLowerCase().split(" ");
|
e = d.data.toLowerCase().split(" ");
|
||||||
|
|
||||||
d.handler = function (n) {
|
d.handler = function (n) {
|
||||||
if (this !== n.target && (/textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
|
if (this !== n.target && (n.which !== 27 && /textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
dist/index-es.min.js
vendored
2
dist/index-es.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-es.min.js.map
vendored
2
dist/index-es.min.js.map
vendored
File diff suppressed because one or more lines are too long
3
dist/index-umd.js
vendored
3
dist/index-umd.js
vendored
@@ -21199,6 +21199,7 @@
|
|||||||
* Original idea by:
|
* Original idea by:
|
||||||
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
|
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
|
||||||
*/
|
*/
|
||||||
|
// We *do* want to allow the escape key within textareas (and possibly tab too), so add the condition `n.which !== 27`
|
||||||
function jqPluginJSHotkeys (b) {
|
function jqPluginJSHotkeys (b) {
|
||||||
b.hotkeys = {
|
b.hotkeys = {
|
||||||
version: "0.8",
|
version: "0.8",
|
||||||
@@ -21289,7 +21290,7 @@
|
|||||||
e = d.data.toLowerCase().split(" ");
|
e = d.data.toLowerCase().split(" ");
|
||||||
|
|
||||||
d.handler = function (n) {
|
d.handler = function (n) {
|
||||||
if (this !== n.target && (/textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
|
if (this !== n.target && (n.which !== 27 && /textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
dist/index-umd.min.js
vendored
2
dist/index-umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.min.js.map
vendored
2
dist/index-umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -21196,6 +21196,7 @@
|
|||||||
* Original idea by:
|
* Original idea by:
|
||||||
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
|
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
|
||||||
*/
|
*/
|
||||||
|
// We *do* want to allow the escape key within textareas (and possibly tab too), so add the condition `n.which !== 27`
|
||||||
function jqPluginJSHotkeys (b) {
|
function jqPluginJSHotkeys (b) {
|
||||||
b.hotkeys = {
|
b.hotkeys = {
|
||||||
version: "0.8",
|
version: "0.8",
|
||||||
@@ -21286,7 +21287,7 @@
|
|||||||
e = d.data.toLowerCase().split(" ");
|
e = d.data.toLowerCase().split(" ");
|
||||||
|
|
||||||
d.handler = function (n) {
|
d.handler = function (n) {
|
||||||
if (this !== n.target && (/textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
|
if (this !== n.target && (n.which !== 27 && /textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21196,6 +21196,7 @@
|
|||||||
* Original idea by:
|
* Original idea by:
|
||||||
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
|
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
|
||||||
*/
|
*/
|
||||||
|
// We *do* want to allow the escape key within textareas (and possibly tab too), so add the condition `n.which !== 27`
|
||||||
function jqPluginJSHotkeys (b) {
|
function jqPluginJSHotkeys (b) {
|
||||||
b.hotkeys = {
|
b.hotkeys = {
|
||||||
version: "0.8",
|
version: "0.8",
|
||||||
@@ -21286,7 +21287,7 @@
|
|||||||
e = d.data.toLowerCase().split(" ");
|
e = d.data.toLowerCase().split(" ");
|
||||||
|
|
||||||
d.handler = function (n) {
|
d.handler = function (n) {
|
||||||
if (this !== n.target && (/textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
|
if (this !== n.target && (n.which !== 27 && /textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user