optimization fix try

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