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

check if st > tabs.length, which causes problem #3

Merged
merged 1 commit into from Nov 6, 2015

Conversation

chinuy
Copy link
Contributor

@chinuy chinuy commented Nov 2, 2015

In case of multiple pages using SmartTab, it is possible to have a great st value from one page, and when I switch to the other page whose number of tab is smaller, the page won't display and cannot be selected.

One quick fix is once the situation occurs, assign st value to zero.

techlab added a commit that referenced this pull request Nov 6, 2015
check if st > tabs.length, which causes problem
@techlab techlab merged commit a9dc731 into techlab:master Nov 6, 2015
@techlab
Copy link
Owner

techlab commented Nov 6, 2015

Thank you for the fix

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.

None yet

2 participants