Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Follow our own advice

  • Loading branch information...
commit 257a769d7e323711d621ed729b5a18172166dc0b 1 parent 6914d66
@defunkt defunkt authored
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
})
Please sign in to comment.
Something went wrong with that request. Please try again.