Skip to content

scrollTop: Updated the return value to Number #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions entries/scrollTop.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<entries>
<entry type="method" name="scrollTop" return="Integer">
<entry type="method" name="scrollTop" return="Number">
<title>.scrollTop()</title>
<signature>
<added>1.2.6</added>
Expand Down Expand Up @@ -35,7 +35,7 @@ $( "p:last" ).text( "scrollTop:" + p.scrollTop() );
<signature>
<added>1.2.6</added>
<argument name="value" type="Number">
<desc>An integer indicating the new position to set the scroll bar to.</desc>
<desc>A number indicating the new position to set the scroll bar to.</desc>
</argument>
</signature>
<desc>Set the current vertical position of the scroll bar for each of the set of matched elements.</desc>
Expand Down