Skip to content

Commit

Permalink
format source
Browse files Browse the repository at this point in the history
  • Loading branch information
sofish committed Oct 27, 2013
1 parent fd48629 commit 696283d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pen.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,18 +216,16 @@
var node = this._sel.focusNode
, effects = this._effectNode(node)
, menu = this._menu
, linkInput = menu.querySelector('input')
, highlight
, linkInput = menu.querySelector('input');

// remove all highlights
[].slice.call(menu.querySelectorAll('.active')).forEach(function(el) {
el.classList.remove('active');
});

// display link input if createlink enabled
if (linkInput) {
linkInput.style.display = 'none';
}
if (linkInput) linkInput.style.display = 'none';

highlight = function(str) {
var selector = '.icon-' + str
Expand Down

0 comments on commit 696283d

Please sign in to comment.