Browse Source

style: Fix formatting

version-14
Suraj Shetty 3 years ago
committed by GitHub
parent
commit
a630763849
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/views/kanban/kanban_board.js

+ 1
- 1
frappe/public/js/frappe/views/kanban/kanban_board.js View File

@@ -424,7 +424,7 @@ frappe.provide("frappe.views");
draggable.classList.remove('clickdrag-active'); draggable.classList.remove('clickdrag-active');
}); });
draggable.addEventListener('mousemove', (e) => { draggable.addEventListener('mousemove', (e) => {
if(!isDown) return;
if (!isDown) return;
e.preventDefault(); e.preventDefault();
const x = e.pageX - draggable.offsetLeft; const x = e.pageX - draggable.offsetLeft;
const walk = (x - startX); const walk = (x - startX);


Loading…
Cancel
Save