Skip to content

Commit

Permalink
Remove unnecessary vendor prefixes (#5550)
Browse files Browse the repository at this point in the history
* fix: Invalid value for the 'cursor' css style property

* Remove unnecessary vendor prefix for cursor
  • Loading branch information
woneob authored Apr 1, 2022
1 parent 667d89c commit f0cb4b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/grab-cursor/setGrabCursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ export default function setGrabCursor(moving) {
return;
const el = swiper.params.touchEventsTarget === 'container' ? swiper.el : swiper.wrapperEl;
el.style.cursor = 'move';
el.style.cursor = moving ? '-webkit-grabbing' : '-webkit-grab';
el.style.cursor = moving ? '-moz-grabbin' : '-moz-grab';
el.style.cursor = moving ? 'grabbing' : 'grab';
}

0 comments on commit f0cb4b3

Please sign in to comment.