Added PR commit support
This commit is contained in:
parent
8284f8dd63
commit
9565a16745
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,9 @@ function change_wiki() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function change_commits() {
|
function change_commits() {
|
||||||
insert_emoticons('table.files a .message')
|
insert_emoticons('table.files a .message');
|
||||||
|
insert_emoticons('table.timeline-commits commit-message a.message');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.js-comment-container').on('load change', change_comments);
|
$('.js-comment-container').on('load change', change_comments);
|
||||||
|
@ -26,6 +28,7 @@ $('form .timeline-comment textarea[placeholder="Leave a comment"]').on('change i
|
||||||
$('#markdown-body').on('DOMNodeInserted DOMNodeRemoved change load', change_wiki);
|
$('#markdown-body').on('DOMNodeInserted DOMNodeRemoved change load', change_wiki);
|
||||||
|
|
||||||
$('table.files').on('DOMNodeInserted DOMNodeRemoved change load', change_commits);
|
$('table.files').on('DOMNodeInserted DOMNodeRemoved change load', change_commits);
|
||||||
|
$('table.timeline-commits').on('DOMNodeInserted DOMNodeRemoved change load', change_commits);
|
||||||
|
|
||||||
$(document).on('ready', function() {
|
$(document).on('ready', function() {
|
||||||
console.log("Ready");
|
console.log("Ready");
|
||||||
|
|
Reference in a new issue