Underline selected currency

This commit is contained in:
Felipe Martín 2015-06-25 20:50:35 +02:00
parent 0431feba3b
commit 5f28bde18b
2 changed files with 6 additions and 2 deletions

View File

@ -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();

View File

@ -9,3 +9,7 @@
content: '~';
}
}
.underlined {
text-decoration: underline;
}