Skip to content

Commit

Permalink
Merge pull request #7 from crystalneth/master
Browse files Browse the repository at this point in the history
Fixing ambiguous coffeescript that was generating incorrect js
  • Loading branch information
zmillman committed Aug 7, 2014
2 parents ec4f739 + 2b26014 commit 58944ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/jquery.infinite-pages.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ Released under the MIT License
@_loading()

$.getScript(@$container.find(@options.navSelector).attr('href'))
.done (=> @_success())
.fail (=> @_error())
.done(=> @_success())
.fail(=> @_error())

_loading: ->
@options.state.loading = true
Expand Down

0 comments on commit 58944ac

Please sign in to comment.