Added restoration of original style information on removeOverscroll #38

Merged
merged 2 commits into from Dec 24, 2011

Projects

None yet

2 participants

@coeamyd
Contributor
coeamyd commented Dec 21, 2011

Hi Azoff,

I needed to refresh overscroll due to size changes of the content and noticed, that the style attribute is completely removed on removeOverscroll. I changed this behavior to store the original style information in the elements data and the remover now restores this information.

Cheers,
Christoph

Owner
azoff commented Dec 21, 2011

thanks man! I'll take a look when I get a sec.

On Dec 21, 2011, at 2:10 AM, coeamydreply@reply.github.com wrote:

Hi Azoff,

I needed to refresh overscroll due to size changes of the content and noticed, that the style attribute is completely removed on removeOverscroll. I changed this behavior to store the original style information in the elements data and the remover now restores this information.

Cheers,
Christoph

You can merge this Pull Request by running:

git pull https://github.com/coeamyd/Overscroll master

Or you can view, comment on it, or merge it online at:

#38

-- Commit Summary --

  • Added restore of original style info after removal of overscroll

-- File Changes --

M jquery.overscroll.js (81)

-- Patch Links --

https://github.com/azoff/Overscroll/pull/38.patch
https://github.com/azoff/Overscroll/pull/38.diff


Reply to this email directly or view it on GitHub:
#38

@azoff azoff merged commit 3fa323c into azoff:master Dec 24, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment