Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(jquery error): jquery error
Browse files Browse the repository at this point in the history
fix jquery error: Uncaught TypeError: ((n.event.special[g.origType] || {}).handle ||
g.handler).apply is not a function
  • Loading branch information
谢雷君 authored and 谢雷君 committed Aug 22, 2020
1 parent e1bd844 commit 1a2fed9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/utils/util.js
Expand Up @@ -385,7 +385,13 @@ function luckysheetactiveCell() {

//单元格编辑聚焦
function luckysheetContainerFocus() {
$("#" + Store.container).attr("tabindex", 0).focus({
// $("#" + Store.container).attr("tabindex", 0).focus({
// preventScroll: true
// });

// fix jquery error: Uncaught TypeError: ((n.event.special[g.origType] || {}).handle || g.handler).apply is not a function

$("#" + Store.container).focus({
preventScroll: true
});
}
Expand Down

0 comments on commit 1a2fed9

Please sign in to comment.