From 5f28bde18b821c31edf23147ab82382d0725b35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Thu, 25 Jun 2015 20:50:35 +0200 Subject: [PATCH] Underline selected currency --- amiibofindr/static/app/money.js | 4 ++-- amiibofindr/static/less/style.less | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/amiibofindr/static/app/money.js b/amiibofindr/static/app/money.js index 3265a36..a94cc18 100644 --- a/amiibofindr/static/app/money.js +++ b/amiibofindr/static/app/money.js @@ -47,8 +47,8 @@ var self = this; if (this.currencies.indexOf(currency) !== -1) { if (this.DEBUG) console.log('[money] set user currency: ' + currency) - $('[data-currency-change]').removeClass('active'); - $('[data-currency-change="' + currency + '"]').addClass('active'); + $('[data-currency-change]').removeClass('underlined'); + $('[data-currency-change="' + currency + '"]').addClass('underlined'); window.localStorage.setItem('currency', currency); this.currency = currency; this.convertPrices(); diff --git a/amiibofindr/static/less/style.less b/amiibofindr/static/less/style.less index 5962f61..c1752ef 100644 --- a/amiibofindr/static/less/style.less +++ b/amiibofindr/static/less/style.less @@ -9,3 +9,7 @@ content: '~'; } } + +.underlined { + text-decoration: underline; +}