diff options
author | kumavis <aaron@kumavis.me> | 2018-03-29 13:30:35 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-03-29 13:30:35 +0800 |
commit | 10609493c5a23a930dd8f7bda0435e576fd24815 (patch) | |
tree | cff248f6cc1efcac8722912a61136a963d8ba79c /ui | |
parent | cf82e766d4c08ee874e0c077d73186b5b134669f (diff) | |
download | dexon-wallet-10609493c5a23a930dd8f7bda0435e576fd24815.tar.gz dexon-wallet-10609493c5a23a930dd8f7bda0435e576fd24815.tar.zst dexon-wallet-10609493c5a23a930dd8f7bda0435e576fd24815.zip |
ui - use relative location for images
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/app.js | 2 | ||||
-rw-r--r-- | ui/app/components/modals/deposit-ether-modal.js | 4 | ||||
-rw-r--r-- | ui/app/components/sender-to-recipient.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index d23238ba..d658cf80 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -288,7 +288,7 @@ App.prototype.renderAppBar = function () { h('img.metafox-icon', { height: 42, width: 42, - src: '/images/metamask-fox.svg', + src: './images/metamask-fox.svg', }), // metamask name diff --git a/ui/app/components/modals/deposit-ether-modal.js b/ui/app/components/modals/deposit-ether-modal.js index 5af484af..30be1d45 100644 --- a/ui/app/components/modals/deposit-ether-modal.js +++ b/ui/app/components/modals/deposit-ether-modal.js @@ -165,7 +165,7 @@ DepositEtherModal.prototype.render = function () { this.renderRow({ logo: h('div.deposit-ether-modal__logo', { style: { - backgroundImage: 'url(\'../../../images/coinbase logo.png\')', + backgroundImage: 'url(\'./images/coinbase logo.png\')', height: '40px', }, }), @@ -179,7 +179,7 @@ DepositEtherModal.prototype.render = function () { this.renderRow({ logo: h('div.deposit-ether-modal__logo', { style: { - backgroundImage: 'url(\'../../../images/shapeshift logo.png\')', + backgroundImage: 'url(\'./images/shapeshift logo.png\')', }, }), title: SHAPESHIFT_ROW_TITLE, diff --git a/ui/app/components/sender-to-recipient.js b/ui/app/components/sender-to-recipient.js index 4c388166..29961661 100644 --- a/ui/app/components/sender-to-recipient.js +++ b/ui/app/components/sender-to-recipient.js @@ -46,7 +46,7 @@ class SenderToRecipient extends Component { h('img', { height: 15, width: 15, - src: '/images/arrow-right.svg', + src: './images/arrow-right.svg', }), ]), ]), |