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

Make affix accept `0` as offsetTop or offsetBottom

Fixes #12815.
Closes #14363.
parent 9b9e2f5d
...@@ -152,8 +152,8 @@ ...@@ -152,8 +152,8 @@
data.offset = data.offset || {} data.offset = data.offset || {}
if (data.offsetBottom) data.offset.bottom = data.offsetBottom if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom
if (data.offsetTop) data.offset.top = data.offsetTop if (data.offsetTop != null) data.offset.top = data.offsetTop
Plugin.call($spy, data) Plugin.call($spy, data)
}) })
......
Markdown is supported
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