Skip to content

Commit

Permalink
🐛 Fixed running on GitHub Gists (fixes #43);
Browse files Browse the repository at this point in the history
  • Loading branch information
jerone committed Mar 22, 2015
1 parent 675bfaf commit c8c77e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Github_Comment_Enhancer/Github_Comment_Enhancer.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@
};

function addSuggestions(commentForm) {
var jssuggester = commentForm.parentNode.parentNode.querySelector(".js-suggester-container .js-suggester");
var jssuggester = commentForm.parentNode.parentNode.querySelector(".suggester-container .suggester");
var url = jssuggester.getAttribute("data-url");
unsafeWindow.$.fetchText(url).then(function(suggestionsData) {
suggestionsData = suggestionsData.replace(/js-navigation-item/g, "function-button js-navigation-item select-menu-item");
Expand Down
3 changes: 2 additions & 1 deletion Github_Comment_Enhancer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Add features to enhance comments & wiki on [Github](https://github.com) and comm
* Added underline button;
* Added option to choose the character that precedes the list;
* Added option to choose the characters that makes up a horizontal line;
* Fixed running on GitHub Gists (fixes https://github.com/jerone/UserScripts/issues/43);
* Searching snippets improved;
* Improve table code;
* Added missing tooltips;
Expand Down Expand Up @@ -97,7 +98,7 @@ Add features to enhance comments & wiki on [Github](https://github.com) and comm
* https://github.com/jerone/UserScripts/issues/1 (new comment & edit comment)
* https://github.com/jerone/UserScripts/commit/master (comments below & inline comments)
* https://github.com/jerone/UserScripts/wiki/_new (new wiki)
* https://github.com/jerone/OpenUserJS.org/compare/master...app_route (new PR)
* https://github.com/jerone/bootstrap-material-design/pull/new/feature/sass (new PR)
* https://gist.github.com/jerone/9526258 (new comment & edit comment)


Expand Down

0 comments on commit c8c77e1

Please sign in to comment.