Clear useless code
This commit is contained in:
parent
8065836bf6
commit
f4a89d885a
@ -118,7 +118,7 @@ if (!window.location.href.includes('dofus-map')) {
|
||||
mapElement.addEventListener('mousemove', moveEvent => moved = true)
|
||||
mapElement.addEventListener('mouseup', mouseupEvent => {
|
||||
const position = getPositionArray(result.innerHTML)
|
||||
console.log(position)
|
||||
|
||||
if (position && position.length === 2 && !moved) {
|
||||
if (parameters.has('noob')) {
|
||||
copyTextToClipboard('/p [' + position[0] + ',' + position[1] + ']')
|
||||
@ -126,7 +126,6 @@ if (!window.location.href.includes('dofus-map')) {
|
||||
copyTextToClipboard(travelCommand + position[0] + ',' + position[1])
|
||||
}
|
||||
}
|
||||
moved = false
|
||||
})
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue
Block a user