Skip to content

Commit

Permalink
released v1.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsroge committed Jan 30, 2016
1 parent 11d7f8c commit e21b941
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "priority-nav",
"title": "priority-nav",
"version": "1.0.11",
"version": "1.0.12",
"main": [
"dist/priority-nav.js",
"dist/priority-nav-core.css"
Expand Down
6 changes: 2 additions & 4 deletions dist/priority-nav.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* priority-nav - v1.0.11 | (c) 2016 @gijsroge | MIT license
* priority-nav - v1.0.12 | (c) 2016 @gijsroge | MIT license
* Repository: https://github.com/gijsroge/priority-navigation.git
* Description: Priority+ pattern navigation that hides menu items if they don't fit on screen.
* Demo: http://gijsroge.github.io/priority-nav.js/
Expand All @@ -25,7 +25,6 @@
var settings = {};
var instance = 0;
var count = 0;
var options;
var mainNavWrapper, totalWidth, restWidth, mainNav, navDropdown, navDropdownToggle, dropDownWidth, toggleWrapper;
var viewportWidth = 0;

Expand Down Expand Up @@ -190,6 +189,7 @@
* Set aria attributes for accessibility
*/
navDropdownToggle.setAttribute("aria-controls", "menu");
navDropdownToggle.setAttribute("type", "button");
navDropdown.setAttribute("aria-hidden", "true");


Expand Down Expand Up @@ -282,8 +282,6 @@
*/
priorityNav.doesItFit = function (_this) {

settings = extend(defaults, options || {});

/**
* Check if it is the first run
*/
Expand Down
4 changes: 2 additions & 2 deletions dist/priority-nav.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "priority-nav",
"title": "priority-nav",
"version": "1.0.11",
"version": "1.0.12",
"main": "dist/priority-nav.js",
"description": "Priority+ pattern navigation that hides menu items if they don't fit on screen.",
"homepage": "http://gijsroge.github.io/priority-nav.js/",
Expand Down

0 comments on commit e21b941

Please sign in to comment.