Skip to content

Commit

Permalink
Merge pull request #56 from takenet/bugfix/227514
Browse files Browse the repository at this point in the history
fix(directive): Not remove event listener for mousedown
  • Loading branch information
Arthur Soares authored Mar 25, 2021
2 parents 6141a0c + 9650323 commit d35297e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/directives/vChatScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ import debounce from 'lodash/debounce'
}

function stop() {
el.removeEventListener('mousedown', onMouseDown)

el.classList.remove('ss-grabbed')
d.body.classList.remove('ss-grabbed')
d.removeEventListener('mousemove', drag)
Expand Down

0 comments on commit d35297e

Please sign in to comment.