1
Fork 0

Fixed support for repo page commit messages

This commit is contained in:
Jake Howard 2015-09-23 13:44:25 +01:00
parent 9565a16745
commit c454f806a0

View file

@ -12,7 +12,7 @@ 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'); insert_emoticons('table.timeline-commits commit-message a.message');
} }
@ -27,8 +27,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.timeline-commits').on('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");