optimization fix try
This commit is contained in:
+4
-4
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user