diff app/assets/javascripts/application.coffee @ 404:3d434e15ddb1

Already have the default.
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 04:35:11 +0900
parents a18e19139f57
children 26c1b0b8edbe
line wrap: on
line diff
--- a/app/assets/javascripts/application.coffee	Sun Sep 06 04:32:02 2015 +0900
+++ b/app/assets/javascripts/application.coffee	Sun Sep 06 04:35:11 2015 +0900
@@ -17,7 +17,6 @@
 setHash = (newLocation = window.location.pathname) ->
   return unless history.replaceState
 
-  newLocation ||= window.location.pathname
   history.replaceState null, "", newLocation