Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infl-components-src/components/infinite_scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class InfiniteScroll extends React.Component {

_addScrollEventListener() {
if (!this.addWindowSrollEvent || !this.props.hasMore) return;
$(window).scroll(this._onWindowScroll);
$(window).on('scroll', this._onWindowScroll);
this.addWindowSrollEvent = false;
}

Expand Down
2 changes: 1 addition & 1 deletion infl-components-src/multi-select/multi_select.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const MultiSelect = React.createClass({

_addHideEvent: function() {
const that = this;
$(window).click(function() {
$(window).on('click', function() {
that._hideOptions();
});
},
Expand Down
2 changes: 1 addition & 1 deletion infl-components-src/tabs/responsive_tabs_mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ResponsiveTabsMixin = {
},

_addWindowResizeEvent: function() {
$(window).resize(this._adjustTabsForScreenSize);
$(window).on('resize', this._adjustTabsForScreenSize);
},

_adjustTabsForScreenSize: function() {
Expand Down
2 changes: 1 addition & 1 deletion infl-components-src/tooltip/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default class Tooltip extends Component {


componentDidMount() {
$('body').click(this._closeTooltip);
$('body').on('click', this._closeTooltip);
}

componentWillUnmount() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"gulp-postcss": "^6.0.0",
"gulp-replace": "^0.5.4",
"gulp-watch": "^4.3.5",
"jquery": "^1.9.1",
"jquery": "^3.7.1",
"jss": "^3.2.0",
"jss-nested": "^1.0.1",
"lodash": "^3.7.0",
Expand Down