Permalink
Browse files

all wrong

  • Loading branch information...
defunkt committed Apr 27, 2011
1 parent 9fb2c64 commit dc40d42c764b54670b1a043277ba4b1ccf71ee28
Showing with 2 additions and 2 deletions.
  1. +2 −2 README
View
4 README
@@ -143,8 +143,8 @@ body into:
This allows you to, say, display a loading indicator upon pjaxing:
- $('a.pjax')
- .pjax('#main')
+ $('a.pjax').pjax('#main')
+ $('#main')
.bind('start.pjax', function() { $('#loading').show() })
.bind('end.pjax', function() { $('#loading').hide() })

0 comments on commit dc40d42

Please sign in to comment.