From bab88f4739ad5c70e04421790cc49c70b25fd92f Mon Sep 17 00:00:00 2001 From: rr- Date: Sun, 29 May 2016 12:24:48 +0200 Subject: [PATCH] client/top-nav: reuse makeAccessLink --- client/css/main.styl | 3 +++ client/html/top_nav.tpl | 2 +- client/js/util/views.js | 8 ++++++++ client/js/views/top_nav_view.js | 8 -------- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/client/css/main.styl b/client/css/main.styl index f97ddf24..0f114f93 100644 --- a/client/css/main.styl +++ b/client/css/main.styl @@ -111,6 +111,9 @@ nav.text-nav background: $focused-tab-background-color outline: 0 +a .access-key + text-decoration: underline + #top-nav background: $top-nav-color margin: 0 diff --git a/client/html/top_nav.tpl b/client/html/top_nav.tpl index 3eefea52..a997df47 100644 --- a/client/html/top_nav.tpl +++ b/client/html/top_nav.tpl @@ -5,7 +5,7 @@ -->
  • <% if (item.imageUrl) { print(ctx.makeThumbnail(item.imageUrl)); } %><%- item.name %><%= ctx.makeAccessKey(item.name, item.accessKey) %>
  • <% } %>