summaryrefslogtreecommitdiffstats
path: root/web/react/components/tutorial/tutorial_tip.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-11-09 23:43:44 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-11-09 23:43:44 +0500
commit577427e7fd5fd6699c53951955e7e9e1dec8c32a (patch)
tree9fe9c41b7d81f04359a5dca5a3128559bbeefc2e /web/react/components/tutorial/tutorial_tip.jsx
parent2ed8be44e1926ffe550815c4e028008ebf8468a2 (diff)
downloadchat-577427e7fd5fd6699c53951955e7e9e1dec8c32a.tar.gz
chat-577427e7fd5fd6699c53951955e7e9e1dec8c32a.tar.bz2
chat-577427e7fd5fd6699c53951955e7e9e1dec8c32a.zip
Updating tutorial tip
Diffstat (limited to 'web/react/components/tutorial/tutorial_tip.jsx')
-rw-r--r--web/react/components/tutorial/tutorial_tip.jsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/react/components/tutorial/tutorial_tip.jsx b/web/react/components/tutorial/tutorial_tip.jsx
index 3094b2f4c..2a638ea95 100644
--- a/web/react/components/tutorial/tutorial_tip.jsx
+++ b/web/react/components/tutorial/tutorial_tip.jsx
@@ -69,11 +69,16 @@ export default class TutorialTip extends React.Component {
}
}
+ var tipColor = '';
+ if (this.props.overlayClass === 'tip-overlay--header') {
+ tipColor = 'white';
+ }
+
return (
<div className={'tip-div ' + this.props.overlayClass}>
<img
className='tip-button'
- src='/static/images/tutorialTip.gif'
+ src={'/static/images/tutorialTip' + tipColor + '.gif'}
width='35'
onClick={this.toggle}
ref='target'