fixes to routing

This commit is contained in:
Arjun Patel
2018-07-07 17:54:05 -07:00
parent 8217bc6111
commit a6213e9085
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -51,15 +51,15 @@
$('.readMore').on("click", function() {
var whichBlog = $(this).attr('id');
console.log("Loading vlog: " + whichBlog);
window.location.href = "blogs/" + whichBlog + ".html";
window.location.href = "http://arjunpatel.me/blogs/" + whichBlog + ".html";
});
$('#goToMain').on("click", function() {
window.location.href = "index.html";
window.location.href = "http://arjunpatel.me/index.html";
});
$('#goToBlogs').on("click", function() {
window.location.href = "../blog.html";
window.location.href = "http://arjunpatel.me/blog.html";
});
})(jQuery);