Browse files

Follow our own advice

  • Loading branch information...
1 parent 6914d66 commit 257a769d7e323711d621ed729b5a18172166dc0b @defunkt defunkt committed Jun 5, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 jquery.pjax.js
View
6 jquery.pjax.js
@@ -191,11 +191,11 @@ $(window).bind('popstate', function(event){
var state = event.state
if ( state && state.pjax ) {
- var $container = $(state.pjax+'')
- if ( $container.length )
+ var container = state.pjax
+ if ( $(container+'').length )
$.pjax({
url: state.url || location.href,
- container: $container,
+ container: container,
push: false,
timeout: state.timeout
})

0 comments on commit 257a769

Please sign in to comment.