Skip to content

Commit

Permalink
tweaked readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsroge committed Jun 23, 2015
1 parent b7642e4 commit 269dc8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -13,7 +13,7 @@ PriorityNav is a lightweight pure javascript plugin that will move your menu ite
- **Non obstructive menu dropdown**<br>The dropdown menu can be closed by clicking outside and pressing escape.
- **Callbacks**<br>Callbacks are fired when an item is moved or moved back from the main navigation.

### Installation
### Usage
Load plugin files

```html
Expand Down
4 changes: 2 additions & 2 deletions dist/priority-nav.js
Expand Up @@ -426,12 +426,12 @@
// Check if an item needs to move
if(window.attachEvent) {
window.attachEvent("onresize", function() {
if(priorityNav.doesItFit)priorityNav.doesItFit(instance, _this);
if(priorityNav.doesItFit)priorityNav.doesItFit(_this);
});
}
else if(window.addEventListener) {
window.addEventListener("resize", function() {
if(priorityNav.doesItFit)priorityNav.doesItFit(instance, _this);
if(priorityNav.doesItFit)priorityNav.doesItFit(_this);
}, true);
}

Expand Down
2 changes: 1 addition & 1 deletion dist/priority-nav.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 269dc8d

Please sign in to comment.