Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
Update addColumnButtons.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
eramdam committed Jul 18, 2023
1 parent b59ad82 commit 86bfa68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/features/addColumnButtons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const maybeAddColumnsButtons = makeBTDModule(({TD, jq, settings}) => {
});
}

jq(document).on('pointerdown', '.btd-remove-column-link', (ev) => {
jq(document).on('mousedown', '.btd-remove-column-link', (ev) => {
if (ev.button !== 0) {
return;
}
Expand Down Expand Up @@ -113,7 +113,7 @@ export const maybeAddColumnsButtons = makeBTDModule(({TD, jq, settings}) => {
jq(e.currentTarget).find('.icon').attr('class', 'icon icon-clear-timeline');
});

jq(document).on('pointerdown', '.btd-clear-column-link', (ev) => {
jq(document).on('mousedown', '.btd-clear-column-link', (ev) => {
if (ev.button !== 0) {
return;
}
Expand Down Expand Up @@ -143,7 +143,7 @@ export const maybeAddColumnsButtons = makeBTDModule(({TD, jq, settings}) => {
});

jq(document).on(
'pointerdown',
'mousedown',
'.column-panel header.column-header .btd-toggle-collapse-column-link',
(ev) => {
ev.preventDefault();
Expand Down

0 comments on commit 86bfa68

Please sign in to comment.