Skip to content

Conversation

@pirxpilot
Copy link
Contributor

If scrollbar size is 0 we were computing it every time scrollbarSize was
called. It's especially wastefull on webkit browsers were scrollbar size
can be set to 0 through CSS.

If scrollbar size is 0 we were computing it every time scrollbarSize was
called. It's especially wastefull on webkit browsers were scrollbar size
can be set to 0 through CSS.
rauchg added a commit that referenced this pull request Mar 18, 2012
Optimize scrollbar size computing
@rauchg rauchg merged commit 5dc7d59 into Automattic:master Mar 18, 2012
@rauchg
Copy link
Contributor

rauchg commented Mar 18, 2012

null == size would be sweet :P

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.

2 participants