the selection helper is not selecting in our bottom div, but only in the chatgpt part of the window. see #104
This commit is contained in:
parent
3b424d2bdf
commit
4c7d9aced9
1 changed files with 7 additions and 0 deletions
|
|
@ -417,6 +417,13 @@ function selectContentOnMouseMove(event) {
|
|||
}
|
||||
|
||||
function selectContentOnMouseUp(event) {
|
||||
var excludedArea = document.querySelector('.mzta-header-fixed');
|
||||
|
||||
if (excludedArea && excludedArea.contains(event.target)) {
|
||||
// If the click was inside the excluded area, do nothing
|
||||
return;
|
||||
}
|
||||
|
||||
if ((!isDragging)&&(!isSomethingSelected())) {
|
||||
// If no dragging has occurred, execute the selection code
|
||||
selectContentOnClick(event);
|
||||
|
|
|
|||
Loading…
Reference in a new issue