Skip to content

Commit

Permalink
Removes display style in _show() helper
Browse files Browse the repository at this point in the history
Related: carrot#250
  • Loading branch information
whazap committed Nov 25, 2015
1 parent 12504ad commit bd115de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/share-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ class ShareUtils {

/**
* @method _show
* @description Change element's display to 'block'
* @description Removes the element's inline display style
* @private
*
* @param {DOMNode} el
*/
_show(el) {
el.style.display = "initial";
el.style.display = "";
}

/**
Expand Down

0 comments on commit bd115de

Please sign in to comment.