Commit e29c7504 authored by samme's avatar samme Committed by Heinrich Fenkart
Browse files

Make affix accept `0` as offsetTop or offsetBottom

Fixes #12815.
Closes #14363.
parent 9b9e2f5d
4 merge requests!28721Hot test,!16605Test pull please ignore,!22103test,!25326Adjust examples
Showing with 2 additions and 2 deletions
+2 -2
......@@ -152,8 +152,8 @@
data.offset = data.offset || {}
if (data.offsetBottom) data.offset.bottom = data.offsetBottom
if (data.offsetTop) data.offset.top = data.offsetTop
if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom
if (data.offsetTop != null) data.offset.top = data.offsetTop
Plugin.call($spy, data)
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment