Skip to content

Commit 3f16647

Browse files
committed
Update sticky.js
1 parent 963829a commit 3f16647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shortcuts/sticky.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
/* Private */
3737
Sticky.prototype.createWrapper = function() {
38-
if (this.options.wrapper !== false) {
38+
if (this.options.wrapper) {
3939
this.$element.wrap(this.options.wrapper)
4040
}
4141
this.$wrapper = this.$element.parent()

0 commit comments

Comments
 (0)