Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing bug in options.offset, was using options.degrees

  • Loading branch information...
commit a162879b14238d7dd219aecc5c48ea60c91b2e75 1 parent d0077a4
Robert “Beau” Collins authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  menu.js
3  menu.js
View
@@ -2,10 +2,11 @@ var Menu = function(element, options){
if(!options) options = {};
options = {
degrees: options.degrees || 90,
- offset: options.degrees || -90,
+ offset: options.offset || -90,
radius: options.radius || 150
}
+
this.node = element;
this.menu_items = element.querySelectorAll('li');
this.button = element.querySelector('a');
Please sign in to comment.
Something went wrong with that request. Please try again.