Permalink
Browse files

404 fix

  • Loading branch information...
benbalter committed Mar 1, 2013
1 parent 3c2c599 commit 74cbd8a6522a7439ef62bbd94e7624a4bba0c3d4
Showing with 3 additions and 3 deletions.
  1. +2 −2 _cs/application.coffee
  2. +1 −1 _includes/js/application.js
View
@@ -338,8 +338,8 @@ Application.pages = new Application.Collections.Pages
Application.router = new Router()
Backbone.history.start pushState: true, silent: true
-if is404?
- is404 = null
+if window.is404? and window.is404
+ window.is404 = null
Application.router.navigate document.location.pathname.replace("/",""), trigger: true
jQuery(document).ready ->
Oops, something went wrong.

0 comments on commit 74cbd8a

Please sign in to comment.