Browse Source

fix(jquery error): jquery error

fix jquery error: Uncaught TypeError: ((n.event.special[g.origType] || {}).handle ||
g.handler).apply is not a function
master
谢雷君 5 years ago
parent
commit
1a2fed9987
  1. 8
      src/utils/util.js

8
src/utils/util.js

@ -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
});
}

Loading…
Cancel
Save