summaryrefslogtreecommitdiffstats
path: root/web/react/components/tutorial/tutorial_tip.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-09 14:13:36 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-09 14:13:36 -0500
commit79cc0be0b061001ec8e197d53872c547f0c76160 (patch)
treeb89919280850634ad44bd45fd15f1300a1b6e7a9 /web/react/components/tutorial/tutorial_tip.jsx
parent3ad252995a419c1bb3d20be1a8a38f4c5873cda7 (diff)
parent16e877f99e995fc4130a406fd687d2b1f4a5fff4 (diff)
downloadchat-79cc0be0b061001ec8e197d53872c547f0c76160.tar.gz
chat-79cc0be0b061001ec8e197d53872c547f0c76160.tar.bz2
chat-79cc0be0b061001ec8e197d53872c547f0c76160.zip
Merge pull request #1367 from asaadmahmoodspin/ui-improvements
Updating tutorial tip and adding div tags to webhook labels.
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..75d73e920 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'