Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

affix-options defaults merge fix. #18

Merged
merged 1 commit into from
Jun 24, 2015
Merged

affix-options defaults merge fix. #18

merged 1 commit into from
Jun 24, 2015

Conversation

fatcop
Copy link

@fatcop fatcop commented Jun 24, 2015

affix in demo's not working.

Seems that just having affix attrib without a affix-options containing an offset value doesn't set the default offset of 0.

SHA: e9aed4d

Fix that worked for me.

Line #20 of affix.js:

affixOptions = angular.extend({offset: 0}, affixOptions);

mg added a commit that referenced this pull request Jun 24, 2015
affix-options defaults merge fix.
@mg mg merged commit 847363b into mg:master Jun 24, 2015
@leonex-cs1
Copy link
Contributor

Thanks @fatcop. Don't know how I missed that :-(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants