From 2ff415aeab2f2e263cc9b6ff476286abae38f244 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 28 Aug 2015 14:49:03 +0100 Subject: [PATCH] Added support for wikis --- src/injections/github.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/injections/github.js b/src/injections/github.js index 15e540f..d73e342 100644 --- a/src/injections/github.js +++ b/src/injections/github.js @@ -6,6 +6,10 @@ function change_readme() { inject_image('#readme'); } +function change_wiki() { + inject_image('#wiki-body'); +} + $('.js-comment-container').on('load change', change_comments); $('#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() { change_comments(); change_readme(); + change_wiki(); });