From 0fac43ee46d25f69e7eb675bb9aadf252ccad902 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Sat, 8 Feb 2014 18:43:40 +0100 Subject: [PATCH] Switch the menu button on posts to the fontawesome icon. --- css/style.css | 8 -------- src/Menu/Menu.coffee | 9 ++------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/css/style.css b/css/style.css index baee60a41..665c30c0a 100644 --- a/css/style.css +++ b/css/style.css @@ -978,14 +978,6 @@ a.remove { .menu-button { position: relative; } -.menu-button i:not(.fa-bars) { - border-top: 6px solid; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - display: inline-block; - margin: 2px; - vertical-align: middle; -} @media screen and (resolution: 1dppx) { .fa-bars { font-size: 14px; diff --git a/src/Menu/Menu.coffee b/src/Menu/Menu.coffee index b9ce33a63..5803ed0ed 100644 --- a/src/Menu/Menu.coffee +++ b/src/Menu/Menu.coffee @@ -4,7 +4,7 @@ Menu = a = $.el 'a', className: 'menu-button' - innerHTML: '[]' + innerHTML: '' href: 'javascript:;' @frag = $.nodes [$.tn(' '), a] @@ -22,12 +22,7 @@ Menu = return $.add @nodes.info, Menu.makeButton() catalogNode: -> - menuButton = $.el 'a', - className: 'menu-button' - innerHTML: '' - href: 'javascript:;' - $.on menuButton, 'click', Menu.toggle - $.add @nodes.thumb, menuButton + $.add @nodes.thumb, Menu.makeButton() makeButton: -> clone = Menu.frag.cloneNode true