Skip to content

Commit

Permalink
Scaladoc js location synch more robust
Browse files Browse the repository at this point in the history
Tested on:
  - Mac: FF35/Safari 8/Chrome 41
  - Win: IE11
  • Loading branch information
adriaanm committed Feb 20, 2015
1 parent ad845ff commit f95b5b9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -70,7 +70,7 @@ function setFrameSrcFromUrlFragment() {
var loc = fragment.split("@")[0].replace(/\./g, "/");
if(loc.indexOf(".html") < 0) loc += ".html";
if(fragment.indexOf('@') > 0) loc += ("#" + fragment.split("@", 2)[1]);
frames["template"].location.replace(loc);
frames["template"].location.replace(location.protocol + loc);
}
else
frames["template"].location.replace("package.html");
Expand Down

0 comments on commit f95b5b9

Please sign in to comment.