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

Commit

Permalink
fix(event name): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
inkforze committed Oct 13, 2020
1 parent 0ee5f31 commit f64ba54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/formulaBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@ export function formulaBarInitial(){
event.stopPropagation();
});

$("#luckysheet-formula-functionrange").on("mousedown", ".luckysheet-highlight", function (e) {
$("#luckysheet-formula-functionrange").on("mousedown", ".luckysheet-highlight", function (event) {
formula.rangeResize = $(this).data("type");//开始状态resize
formula.rangeResizeIndex = $(this).parent().attr("rangeindex");

let mouse = mouseposition(e.pageX, e.pageY),
let mouse = mouseposition(event.pageX, event.pageY),
scrollLeft = $("#luckysheet-cell-main").scrollLeft(),
scrollTop = $("#luckysheet-cell-main").scrollTop();
let x = mouse[0] + scrollLeft;
Expand Down

0 comments on commit f64ba54

Please sign in to comment.