Skip to content

Commit bedff41

Browse files
author
Oleg Korsunsky
committed
tagging v. 1.0.5
1 parent 19818c2 commit bedff41

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Stickyfill",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"homepage": "http://wd.dizaina.net/en/scripts/stickyfill/",
55
"authors": [
66
"Oleg Korsunsky <[email protected]>"

dist/stickyfill.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Stickyfill -- `position: sticky` polyfill
3-
* v. 1.0.4 | https://github.com/wilddeer/stickyfill
3+
* v. 1.0.5 | https://github.com/wilddeer/stickyfill
44
* Copyright Oleg Korsunsky | http://wd.dizaina.net/
55
*
66
* MIT License
@@ -207,6 +207,7 @@
207207
cloneStyle.padding = cloneStyle.border = cloneStyle.borderSpacing = 0;
208208
cloneStyle.fontSize = '1em';
209209
cloneStyle.position = 'static';
210+
cloneStyle.cssFloat = el.computed.cssFloat;
210211

211212
el.node.parentNode.insertBefore(el.clone, refElement);
212213

@@ -233,7 +234,8 @@
233234
marginTop: computedStyle.marginTop,
234235
marginBottom: computedStyle.marginBottom,
235236
marginLeft: computedStyle.marginLeft,
236-
marginRight: computedStyle.marginRight
237+
marginRight: computedStyle.marginRight,
238+
cssFloat: computedStyle.cssFloat
237239
},
238240
numeric = {
239241
top: parseNumeric(computedStyle.top),

dist/stickyfill.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Stickyfill",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"license": "MIT",
55
"homepage": "https://github.com/wilddeer/stickyfill",
66
"repository": {

0 commit comments

Comments
 (0)