@progressive-development/pd-calendar 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "progressive development calendar web component",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.2.14",
6
+ "version": "0.2.15",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
package/src/PdCalendar.js CHANGED
@@ -513,8 +513,7 @@ export class PdCalendar extends LitElement {
513
513
 
514
514
  // eslint-disable-next-line class-methods-use-this
515
515
  _touchStartEvent(e) {
516
- this._wheelDelta = e.changedTouches[0].screenX;
517
- e.preventDefault();
516
+ this._wheelDelta = e.changedTouches[0].screenX;
518
517
  e.stopPropagation();
519
518
  }
520
519
 
@@ -527,8 +526,6 @@ export class PdCalendar extends LitElement {
527
526
  } else if (result > TOUCH_MIN_MOVE) {
528
527
  this._nextMonth();
529
528
  }
530
-
531
- e.preventDefault();
532
529
  e.stopPropagation();
533
530
  }
534
531