Skip to content

Commit

Permalink
Merge pull request akiran#1166 from akiran/dev
Browse files Browse the repository at this point in the history
remove conditional adding of slick-initialized class
  • Loading branch information
akiran authored Apr 4, 2018
2 parents a3375c8 + 6156755 commit be952ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/inner-slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ import {
getPreClones,
getPostClones,
getTrackLeft,
getTrackCSS,
canUseDOM
getTrackCSS
} from "./utils/innerSliderUtils";

import { Track } from "./track";
Expand Down Expand Up @@ -589,7 +588,7 @@ export class InnerSlider extends React.Component {
render = () => {
var className = classnames("slick-slider", this.props.className, {
"slick-vertical": this.props.vertical,
"slick-initialized": canUseDOM()
"slick-initialized": true
});
let spec = { ...this.props, ...this.state };
let trackProps = extractObject(spec, [
Expand Down

0 comments on commit be952ad

Please sign in to comment.