Skip to content

Commit

Permalink
- Enhancement: prevent loading of easings.min.js file when css3=true #…
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarotrigo committed Jul 28, 2022
1 parent ff4fcd9 commit 6afb37e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ReactFullpage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ class ReactFullpage extends React.Component {
}

importVendors() {
const { easing } = this.props;
if (easing) {
const { easing, css3 } = this.props;
if (easing && !css3) {
require('fullpage.js/vendors/easings.min');
}
}
Expand Down

0 comments on commit 6afb37e

Please sign in to comment.