fixes to routing
This commit is contained in:
@@ -2415,6 +2415,7 @@ body {
|
|||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flex;
|
display: -ms-flex;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
-moz-justify-content: space-between;
|
-moz-justify-content: space-between;
|
||||||
-webkit-justify-content: space-between;
|
-webkit-justify-content: space-between;
|
||||||
-ms-justify-content: space-between;
|
-ms-justify-content: space-between;
|
||||||
|
|||||||
+3
-3
@@ -51,15 +51,15 @@
|
|||||||
$('.readMore').on("click", function() {
|
$('.readMore').on("click", function() {
|
||||||
var whichBlog = $(this).attr('id');
|
var whichBlog = $(this).attr('id');
|
||||||
console.log("Loading vlog: " + whichBlog);
|
console.log("Loading vlog: " + whichBlog);
|
||||||
window.location.href = "blogs/" + whichBlog + ".html";
|
window.location.href = "http://arjunpatel.me/blogs/" + whichBlog + ".html";
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#goToMain').on("click", function() {
|
$('#goToMain').on("click", function() {
|
||||||
window.location.href = "index.html";
|
window.location.href = "http://arjunpatel.me/index.html";
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#goToBlogs').on("click", function() {
|
$('#goToBlogs').on("click", function() {
|
||||||
window.location.href = "../blog.html";
|
window.location.href = "http://arjunpatel.me/blog.html";
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|||||||
Reference in New Issue
Block a user