Skip to content

Commit

Permalink
update at Nov 20th
Browse files Browse the repository at this point in the history
  • Loading branch information
yhilmare committed Nov 20, 2019
1 parent 56dc026 commit 32afdf8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions WebContent/wapIndex/articleDetail.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
</head>
<script src="/blog/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var passage_date = document.getElementById("passage_date");
passage_date.innerHTML += "&nbsp;&nbsp;&nbsp;<a href='#passage_comment'>给我评论</a>";
initVisitorUser();
initArticleComment();
initCommentSubmitButton();
});
function sendHttpPOST(url, data, callBack){
var array = new Array();
var names = Object.getOwnPropertyNames(data);
Expand Down Expand Up @@ -64,11 +72,7 @@
window.open("/blog/message.html");
}, false);
document.getElementById("topbutton").addEventListener("click", function(){window.scrollTo(0, 0);}, false);
var passage_date = document.getElementById("passage_date");
passage_date.innerHTML += "&nbsp;&nbsp;&nbsp;<a href='#passage_comment'>给我评论</a>";
initVisitorUser();
initArticleComment();
initCommentSubmitButton();
}
function initCommentSubmitButton(){
var commentSubmitbutton = document.getElementById("commentSubmitbutton");
Expand Down

0 comments on commit 32afdf8

Please sign in to comment.