Added support for commits
This commit is contained in:
parent
871a302f43
commit
8284f8dd63
1 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,10 @@ function change_wiki() {
|
|||
insert_emoticons('#markdown-body');
|
||||
}
|
||||
|
||||
function change_commits() {
|
||||
insert_emoticons('table.files a .message')
|
||||
}
|
||||
|
||||
$('.js-comment-container').on('load change', change_comments);
|
||||
|
||||
$('#readme').on('load change', change_readme);
|
||||
|
@ -20,10 +24,15 @@ $('form .timeline-comment textarea[placeholder="Leave a comment"]').on('change i
|
|||
});
|
||||
|
||||
$('#markdown-body').on('DOMNodeInserted DOMNodeRemoved change load', change_wiki);
|
||||
|
||||
$('table.files').on('DOMNodeInserted DOMNodeRemoved change load', change_commits);
|
||||
|
||||
$(document).on('ready', function() {
|
||||
console.log("Ready");
|
||||
change_comments();
|
||||
change_commits();
|
||||
change_readme();
|
||||
change_wiki();
|
||||
});
|
||||
|
||||
console.log('Github');
|
||||
|
|
Reference in a new issue