mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Two small code fixes.
This commit is contained in:
@@ -36,9 +36,7 @@ $(document).ready(function () {
|
||||
function updateCurrency() {
|
||||
// get value:
|
||||
var accountId = $('select[name="source_account_id"]').val();
|
||||
console.log('account id is ' + accountId);
|
||||
var currencyPreference = accountInfo[accountId].preferredCurrency;
|
||||
console.log('currency pref is ' + currencyPreference);
|
||||
|
||||
$('.currency-option[data-id="' + currencyPreference + '"]').click();
|
||||
$('[data-toggle="dropdown"]').parent().removeClass('open');
|
||||
|
Reference in New Issue
Block a user