Skip to content

Commit

Permalink
fix iscroll_init
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliiBlagodir committed Aug 1, 2013
1 parent f363603 commit 85076e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -864,10 +864,10 @@ have been initialized. It only means that the iscrollview library is loaded, and
now set any global options.

It's common to bind to `mobileinit` after jQuery is loaded, but before loading jQuery Mobile.
You can bind to `iscrollview_init` int he same place. Alternately, you can make changes to
You can bind to `iscroll_init` int he same place. Alternately, you can make changes to
global options any time after `jquery.mobile.iscrollview` is loaded.

Note: `iscrollview_init` is ONLY available as a jQuery Event. There is no corresponding
Note: `iscroll_init` is ONLY available as a jQuery Event. There is no corresponding
iscrollview callback function.

```html
Expand All @@ -876,7 +876,7 @@ iscrollview callback function.
$.mobile.defaultPageTransition = "slide";
});
$(document).on(""iscrollview_init", function() {
$(document).on("iscroll_init", function() {
$.mobile.iscrollview.prototype.options.refreshDelay = 100;
});
</script>
Expand Down

0 comments on commit 85076e6

Please sign in to comment.