Showing the changes to assets/javascripts (1 of 2 files). Show all
Unified · Split
| @@ -173,7 +173,9 @@ onclick = (event) -> · 172 unmodified lines | |||
| 173 | 173 | ||
| 174 | if link and not link.target and isSameOrigin(link.href) | 174 | if link and not link.target and isSameOrigin(link.href) |
| 175 | event.preventDefault() | 175 | event.preventDefault() |
| 176 | page.show link.pathname + link.search + link.hash | 176 | path = link.pathname + link.search + link.hash |
| 177 | path = path.replace /^\/\/+/, '/' # IE11 bug | ||
| 178 | page.show(path) | ||
| 177 | return | 179 | return |
| 178 | 180 | ||
| 179 | isSameOrigin = (url) -> | 181 | isSameOrigin = (url) -> |