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
-1
View File
@@ -2415,7 +2415,6 @@ body {
display: -webkit-flex;
display: -ms-flex;
display: flex;
flex-direction: column;
-moz-justify-content: space-between;
-webkit-justify-content: space-between;
-ms-justify-content: space-between;
+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);