Fix window.location mistakes in previous code

Sorry guys, I commit the incomplete code. It should be window.location.assign(url);

However this is just tested in google chrome.
This commit is contained in:
maelzx 2013-02-28 11:26:42 +08:00
parent a2147c4f89
commit a319fa8d47
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ $(document).ready(function(){
}); });
function goToVersionPage(url){ function goToVersionPage(url){
window.location(url); window.location.assign(url);
} }
function createVersionsDropdown(filename, files) { function createVersionsDropdown(filename, files) {