mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-02 01:55:48 +00:00
JS: Amount set_currency() nows sets _is_native.
This commit is contained in:
committed by
Stefan Thomas
parent
58bb750a67
commit
b759a9001a
@@ -699,6 +699,7 @@ Amount.prototype.set_currency = function (c) {
|
|||||||
{
|
{
|
||||||
c.copyTo(this._currency);
|
c.copyTo(this._currency);
|
||||||
}
|
}
|
||||||
|
this._is_native = this._currency.is_native();
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user