Skip to content

Commit 86f3cf8

Browse files
authored
Merge pull request #399 from jstettner/master
Fixes Typos
2 parents f02ff35 + 02b6fef commit 86f3cf8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
- [#162](https://github.com/wwayne/react-tooltip/pull/162) Fix for #158, getposition error (@wwayne)
9090

9191
### 3.1.1 (2016/07/27 13:03 +00:00)
92-
- [#151](https://github.com/wwayne/react-tooltip/pull/151) Update postion calculation so that it can calculate continous tootlip (@wwayne)
92+
- [#151](https://github.com/wwayne/react-tooltip/pull/151) Update postion calculation so that it can calculate continous tooltip (@wwayne)
9393

9494
### 3.1.0 (2016/07/27 08:49 +00:00)
9595
- [#149](https://github.com/wwayne/react-tooltip/pull/149) Update algorithm for get positon to fix the shake problem #146 (@wwayne)

example/src/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class Test extends React.Component {
180180
<p className="sub-title"></p>
181181
<div className="example-jsx">
182182
<div className="side">
183-
<a data-for='custom-class' data-tip='hover on me will keep the tootlip'>(・ω´・ )</a>
183+
<a data-for='custom-class' data-tip='hover on me will keep the tooltip'>(・ω´・ )</a>
184184
{/* <a data-for='custom-class' data-tip='' data-tip-disable='true'>empty testing</a> */}
185185
<ReactTooltip id='custom-class' className='extraClass' delayHide={1000} effect='solid'/>
186186
</div>
@@ -192,7 +192,7 @@ class Test extends React.Component {
192192
<br />
193193
<pre className='example-pre'>
194194
<div>
195-
<p>{"<a data-tip='hover on me will keep the tootlip'>(・ω´・ )́)</a>\n" +
195+
<p>{"<a data-tip='hover on me will keep the tooltip'>(・ω´・ )́)</a>\n" +
196196
"<ReactTooltip className='extraClass' delayHide={1000} effect='solid'/>\n" +
197197
".extraClass {\n" +
198198
" font-size: 20px !important;\n" +
@@ -276,15 +276,15 @@ class Test extends React.Component {
276276
<div className="side" style={{ overflow: 'auto', height: '200px' }}>
277277
<div data-for='scrollContent' data-tip data-iscapture='true' style={{ width: '5000px', height: '5000px' }}>
278278
Scroll me with the mouse wheel.<br/>
279-
The tootlip will hide.<br/>
279+
The tooltip will hide.<br/>
280280
Make sure you set data-iscapture="true"
281281
</div>
282282
<ReactTooltip id='scrollContent' getContent={() => Math.floor(Math.random() * 100)}/>
283283
</div>
284284
<div className="side" style={{ overflow: 'auto', height: '200px' }}>
285285
<div data-for='scrollTime' data-tip data-iscapture='true' data-scroll-hide='false' style={{ width: '5000px', height: '5000px' }}>
286286
Scroll me with the mouse wheel.<br/>
287-
The tootlip will stay visible.
287+
The tooltip will stay visible.
288288
</div>
289289
<ReactTooltip id='scrollTime'
290290
getContent={[() => {return new Date().toISOString()}, 1000]}/>

0 commit comments

Comments
 (0)