Skip to content

Conversation

@ateich
Copy link

@ateich ateich commented Feb 28, 2014

Fixed:
• Nav items flickering when scrolling past the bottom of the window
• Nav items of class smint-disable highlighting while scrolling despite not being a section of the page
• Uncaught Type Error thrown while scrolling

Also removed the jquery.smint.js from the main folder as it was not an exact duplicate of the jquery.smint.js in the demo/js folder. The main folder js file contained errors, while the demo js file works properly.

Resolved issue where last nav item and second to last nav item would quickly alternate being active when scrolling past the bottom of screen by changing the window position check to be >= window height instead of ==
Resolved issue where last nav item and second to last nav item would quickly alternate being active when scrolling past the bottom of screen by changing the window position check to be >= window height instead of ==
Fixed issue where if a nav item of class smint-disable was the last nav item, it would become active (highlighted) when the user scrolled to the bottom of the window.

$smintItems no longer includes items of class smint-disable. (line 20)
Fixed issue where if a nav item of class smint-disable was the last nav item, it would become active (highlighted) when the user scrolled to the bottom of the window.

$smintItems no longer includes items of class smint-disable. (line 20)
Resolved "Uncaught TypeError: Cannot read property 'id' of undefined" with a check for null value of optionLocs[index+1] on line 67.
Deleted jquery.smint.js, which has errors, from main folder as there is a different jquery.smint.js in the demo folder which has no errors.
Will now check if classes contain smint-disable, as opposed to if the class is exactly "smint-disable"
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