Skip to content

Commit 10bb4cc

Browse files
author
Orion Free
committed
fixing this
1 parent 4bb5ed6 commit 10bb4cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sticky.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ var Sticky = (function(_React$Component) {
180180
this.scrollSubscription = this.props.extObserver.subscribe(function(
181181
event
182182
) {
183-
if (this.props.match !== '') {
184-
if (event.type === this.props.match) {
183+
if (_this.props.match !== '') {
184+
if (event.type === _this.props.match) {
185185
_this.recomputeState()
186186
}
187187
} else {

0 commit comments

Comments
 (0)