zurb/foundation — pull request #5522 by Larzans (2014-07-30 14:51:02+00:00)
Title: Add a the class 'fixed' when navigation is 'stuck'

In line 117 the class 'fixed' is removed from the navigation without ever being added.

I assume the intention was to add a class to the navigation when it is stuck to the window so that additional skinning via CSS can be done (thats what i actually wanted to do but didn't find this functionality yet).
Browsing through the code i saw that you REMOVE a class 'fixed' when the navigation is 'unstuck' but you never add it.
This fixes that.

When the navigation sticks to the top it has the class 'fixed', as soon as it gets 'unstuck' the class is removed.