Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

core: add 'item-menu-' prefix to item menu classname

  • Loading branch information...
commit a8946de1fe44e57fc01ca1719c60ddd47fb30b36 1 parent 50872d0
@retrofox retrofox authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
4 index.js
@@ -35,7 +35,7 @@ function Menu() {
$('html').click(this.hide.bind(this));
this.on('show', this.bindKeyboardEvents.bind(this));
this.on('hide', this.unbindKeyboardEvents.bind(this));
-};
+}
/**
* Inherit from `Emitter.prototype`.
@@ -149,7 +149,7 @@ Menu.prototype.add = function(text, fn){
var self = this
, el = $('<li><a href="#">' + text + '</a></li>')
- .addClass(slug)
+ .addClass('menu-item-', slug)
.appendTo(this.el)
.click(function(e){
e.preventDefault();
Please sign in to comment.
Something went wrong with that request. Please try again.