Fixed Lychee to working in IE #148

This commit is contained in:
Tobias Reich 2014-08-17 20:54:57 +02:00
parent de33aa6388
commit 1d738f9488
2 changed files with 6 additions and 3 deletions

View File

@ -157,8 +157,11 @@ var lychee = {
goto: function(url) {
if (url===undefined) url = "";
document.location.hash = url;
if (url===undefined) url = "#";
else url = "#" + url;
history.pushState(null, null, url);
lychee.load();
},

File diff suppressed because one or more lines are too long