Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set the class, not an attribute for menu buttons

  • Loading branch information...
commit c3407152b27b54b63316889ec6e673fb73b82806 1 parent 66ba3ab
@kneath authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/timeframe.js
View
2  src/timeframe.js
@@ -203,7 +203,7 @@ var Timeframe = new Class({
next: { label: '', element: $(this.options.nextButton) }
});
- var buttonList = new Element('ul', {id: this.element.id + '_menu', className: 'timeframe_menu'});
+ var buttonList = new Element('ul', {id: this.element.id + '_menu', 'class': 'timeframe_menu'});
this.buttons.each(function(value, key){
if (value.element != null){
value.element.addClass('timeframe_button').addClass(key);
Please sign in to comment.
Something went wrong with that request. Please try again.