Fix IE11 issues

pull/570/merge
Thibaut Courouble 8 years ago
parent 214622b41e
commit 74d7ad047f

@ -173,7 +173,9 @@ onclick = (event) ->
if link and not link.target and isSameOrigin(link.href) if link and not link.target and isSameOrigin(link.href)
event.preventDefault() event.preventDefault()
page.show link.pathname + link.search + link.hash path = link.pathname + link.search + link.hash
path = path.replace /^\/\/+/, '/' # IE11 bug
page.show(path)
return return
isSameOrigin = (url) -> isSameOrigin = (url) ->

@ -10,7 +10,10 @@ body {
height: 100%; height: 100%;
margin: 0; margin: 0;
overflow: auto; overflow: auto;
font: normal 1em/1.7 $baseFont; font-size: 1em;
font-weight: normal;
font-family: $baseFont;
line-height: 1.7;
color: $textColor; color: $textColor;
word-wrap: break-word; word-wrap: break-word;
overflow-wrap: break-word; overflow-wrap: break-word;

Loading…
Cancel
Save