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) -> |
| @@ -10,7 +10,10 @@ body { · 9 unmodified lines | |||
| 10 | height: 100%; | 10 | height: 100%; |
| 11 | margin: 0; | 11 | margin: 0; |
| 12 | overflow: auto; | 12 | overflow: auto; |
| 13 | font: normal 1em/1.7 $baseFont; | 13 | font-size: 1em; |
| 14 | font-weight: normal; | ||
| 15 | font-family: $baseFont; | ||
| 16 | line-height: 1.7; | ||
| 14 | color: $textColor; | 17 | color: $textColor; |
| 15 | word-wrap: break-word; | 18 | word-wrap: break-word; |
| 16 | overflow-wrap: break-word; | 19 | overflow-wrap: break-word; |