Skip to content

Commit 67996d7

Browse files
committed
scrollTop: Updated the return value to Number
Fixes gh-608 Closes gh-901
1 parent 75d59a3 commit 67996d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/scrollTop.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<entries>
3-
<entry type="method" name="scrollTop" return="Integer">
3+
<entry type="method" name="scrollTop" return="Number">
44
<title>.scrollTop()</title>
55
<signature>
66
<added>1.2.6</added>
@@ -35,7 +35,7 @@ $( "p:last" ).text( "scrollTop:" + p.scrollTop() );
3535
<signature>
3636
<added>1.2.6</added>
3737
<argument name="value" type="Number">
38-
<desc>An integer indicating the new position to set the scroll bar to.</desc>
38+
<desc>A number indicating the new position to set the scroll bar to.</desc>
3939
</argument>
4040
</signature>
4141
<desc>Set the current vertical position of the scroll bar for each of the set of matched elements.</desc>

0 commit comments

Comments
 (0)