Skip to content

Commit 01f0c6a

Browse files
committed
Tighten up function check
1 parent 48d59ab commit 01f0c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/mixins/ActiveState.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var ActiveState = {
5656
},
5757

5858
handleActiveStateChange: function () {
59-
if (this.isMounted() && this.updateActiveState)
59+
if (this.isMounted() && typeof this.updateActiveState === 'function')
6060
this.updateActiveState();
6161
}
6262

0 commit comments

Comments
 (0)