1
Fork 0

Added PR commit support

This commit is contained in:
Jake Howard 2015-09-22 16:09:24 +01:00
parent 8284f8dd63
commit 9565a16745

View file

@ -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");