Skip to content

Update stretch.js to correct window width#9

Open
qoalu wants to merge 1 commit intoEnclavely:masterfrom
qoalu:master
Open

Update stretch.js to correct window width#9
qoalu wants to merge 1 commit intoEnclavely:masterfrom
qoalu:master

Conversation

@qoalu
Copy link

@qoalu qoalu commented Jan 7, 2018

Replaces window.innerWidth with document.body.clientWidth to calc the width of window correctly, without scrollbar.

Replaces `window.innerWidth` with `document.body.clientWidth` to calc the width of window correctly, without scrollbar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant