Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Don't stop propagation of click event if dnd is disabled #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion angular-drag-and-drop-lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ angular.module('dndLists', [])
});

// Prevent triggering dndSelected in parant elements.
event.stopPropagation();
if ($element.attr('draggable') == 'true') {
event.stopPropagation();
}
});

/**
Expand Down