1
Fork 0

Added support for wikis

This commit is contained in:
Jake Howard 2015-08-28 14:49:03 +01:00
parent 00fe5df5b8
commit 2ff415aeab

View file

@ -6,6 +6,10 @@ function change_readme() {
inject_image('#readme'); inject_image('#readme');
} }
function change_wiki() {
inject_image('#wiki-body');
}
$('.js-comment-container').on('load change', change_comments); $('.js-comment-container').on('load change', change_comments);
$('#readme').on('load change', change_readme); $('#readme').on('load change', change_readme);
@ -17,4 +21,5 @@ $('form .timeline-comment textarea[placeholder="Leave a comment"]').on('change i
$(document).on('ready', function() { $(document).on('ready', function() {
change_comments(); change_comments();
change_readme(); change_readme();
change_wiki();
}); });