Skip to content

Commit

Permalink
removed .first() call on jquery selection for container, just trustin…
Browse files Browse the repository at this point in the history
…g you to only select one container
  • Loading branch information
michaek committed Jun 20, 2011
1 parent b209230 commit 5467a18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.bbq.pjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
var lastURL = rootUrlPlaceholder
}

// Only use the first matched element as the content container.
this.first().each(function(){
// We should only use the first matched element as the content container.
this.each(function(){
$container = $(this)

// Set up the initial pjax-page content.
Expand Down

0 comments on commit 5467a18

Please sign in to comment.