Skip to content

Commit

Permalink
Update searchJumper.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Jul 15, 2024
1 parent f18d25a commit d366773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searchJumper.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3915,6 +3915,7 @@
} else {
tips.style.bottom = (startPos.bottom - curY) + "px";
}
tips.classList.add("draging");
};
let mouseUpHandler = e => {
document.removeEventListener('mouseup', mouseUpHandler, false);
Expand All @@ -3935,7 +3936,6 @@
top: parseFloat(tips.style.top),
bottom: parseFloat(tips.style.bottom)
};
tips.classList.add("draging");
cb && cb();
};
tips.addEventListener('mousedown', e => {
Expand Down

0 comments on commit d366773

Please sign in to comment.