Update carousel swipe
This commit is contained in:
parent
169a955b0b
commit
9115063cdd
3 changed files with 8 additions and 10 deletions
|
|
@ -12,7 +12,7 @@ import PropTypes from 'prop-types';
|
|||
import ReactResizeDetector from 'react-resize-detector';
|
||||
import _ from 'lodash';
|
||||
import 'html5-device-mockups/dist/device-mockups.min.css';
|
||||
import 'bootstrap-carousel-swipe-haven/carousel-swipe';
|
||||
import 'bootstrap-carousel-swipe/carousel-swipe';
|
||||
import { isAnyMobile } from '/imports/ui/components/Utils/isMobile';
|
||||
import SubscriptionEditor from '/imports/ui/components/SubscriptionEditor/SubscriptionEditor';
|
||||
import SubscriptionsMap from '/imports/ui/pages/Subscriptions/SubscriptionsMap';
|
||||
|
|
@ -36,10 +36,8 @@ class Index extends Component {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
const c = $('.carousel');
|
||||
if (c.carousel) {
|
||||
c.carousel();
|
||||
}
|
||||
$('#carouselMainIndicators').carousel();
|
||||
$('#carouselSndIndicators').carousel();
|
||||
}
|
||||
|
||||
onResize() {
|
||||
|
|
|
|||
8
package-lock.json
generated
8
package-lock.json
generated
|
|
@ -2153,10 +2153,10 @@
|
|||
"hoek": "4.2.0"
|
||||
}
|
||||
},
|
||||
"bootstrap-carousel-swipe-haven": {
|
||||
"version": "0.0.7",
|
||||
"resolved": "https://registry.npmjs.org/bootstrap-carousel-swipe-haven/-/bootstrap-carousel-swipe-haven-0.0.7.tgz",
|
||||
"integrity": "sha512-Dd033dpeHuW35RQ/8v176aGaJZdr7VvzsGDb878ebU18D0J+v1aDj5MkDYurCEHGIBopbJUBxgO3SKt/jwL6lA=="
|
||||
"bootstrap-carousel-swipe": {
|
||||
"version": "0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/bootstrap-carousel-swipe/-/bootstrap-carousel-swipe-0.0.6.tgz",
|
||||
"integrity": "sha1-FTn+656kduHRDRwwnWWb0WJZ/wo="
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz",
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
"@turf/union": "^5.1.5",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"bcrypt": "^1.0.3",
|
||||
"bootstrap-carousel-swipe-haven": "0.0.7",
|
||||
"bootstrap-carousel-swipe": "0.0.6",
|
||||
"commonmark": "^0.28.1",
|
||||
"core-js": "^2.5.1",
|
||||
"crypto-random-hex": "^1.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue