mattlewis92 / angular-bootstrap-calendar

A port of the bootstrap calendar widget to AngularJS (no jQuery required!)
https://mattlewis92.github.io/angular-bootstrap-calendar/
MIT License
798 stars 367 forks source link

fix(dragSelect): ignore right-clicks for drag/drop #585

Closed bwobbones closed 7 years ago

bwobbones commented 7 years ago

This actually the solution to #575.

The drag and drop events are all handled regardless of mouse button. This change makes sure that the right click is ignored, allowing the separation of right click events through oncontextmenu.

codecov-io commented 7 years ago

Codecov Report

Merging #585 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #585   +/-   ##
=======================================
  Coverage   95.93%   95.93%           
=======================================
  Files          26       26           
  Lines         714      714           
=======================================
  Hits          685      685           
  Misses         29       29
Impacted Files Coverage Δ
src/directives/mwlDragSelect.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e8ffc2b...3ae6a42. Read the comment docs.