Fixed Lychee to working in IE #148
This commit is contained in:
parent
de33aa6388
commit
1d738f9488
@ -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
Loading…
Reference in New Issue
Block a user