Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sticky header bug #172

Closed
ghost opened this issue Nov 9, 2012 · 1 comment
Closed

Sticky header bug #172

ghost opened this issue Nov 9, 2012 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Nov 9, 2012

stkyCells should be initialzed after tr.sticky-false is removed from the stkyHdr. Right now this is initialized before that call is made resulting in strange behavior.

Fix is simply to move the call below the .remove() like so:

    stkyHdr.find('tr.sticky-false').remove();
    var stkyCells = stkyHdr.find('tr').children();
@Mottie
Copy link
Owner

Mottie commented Nov 9, 2012

Thanks for catching this problem! But, because of the changes I've been making to the sticky header widget, I'm just going to change the definition of stkyCells:

stkyCells = stkyHdr.children('tr:not(.sticky-false)').children();

Mottie added a commit that referenced this issue Nov 14, 2012
@Mottie Mottie closed this as completed Nov 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant