aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-29 13:30:35 +0800
committerkumavis <aaron@kumavis.me>2018-03-29 13:30:35 +0800
commit10609493c5a23a930dd8f7bda0435e576fd24815 (patch)
treecff248f6cc1efcac8722912a61136a963d8ba79c
parentcf82e766d4c08ee874e0c077d73186b5b134669f (diff)
downloadtangerine-wallet-browser-10609493c5a23a930dd8f7bda0435e576fd24815.tar
tangerine-wallet-browser-10609493c5a23a930dd8f7bda0435e576fd24815.tar.gz
tangerine-wallet-browser-10609493c5a23a930dd8f7bda0435e576fd24815.tar.bz2
tangerine-wallet-browser-10609493c5a23a930dd8f7bda0435e576fd24815.tar.lz
tangerine-wallet-browser-10609493c5a23a930dd8f7bda0435e576fd24815.tar.xz
tangerine-wallet-browser-10609493c5a23a930dd8f7bda0435e576fd24815.tar.zst
tangerine-wallet-browser-10609493c5a23a930dd8f7bda0435e576fd24815.zip
ui - use relative location for images
-rw-r--r--old-ui/app/app.js2
-rw-r--r--ui/app/app.js2
-rw-r--r--ui/app/components/modals/deposit-ether-modal.js4
-rw-r--r--ui/app/components/sender-to-recipient.js2
4 files changed, 5 insertions, 5 deletions
diff --git a/old-ui/app/app.js b/old-ui/app/app.js
index c79ac633a..e9ab185f3 100644
--- a/old-ui/app/app.js
+++ b/old-ui/app/app.js
@@ -171,7 +171,7 @@ App.prototype.renderAppBar = function () {
h('img', {
height: 24,
width: 24,
- src: '/images/icon-128.png',
+ src: './images/icon-128.png',
}),
h(NetworkIndicator, {
diff --git a/ui/app/app.js b/ui/app/app.js
index d23238bab..d658cf809 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 5af484af1..30be1d450 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 4c3881668..299616612 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',
}),
]),
]),