further revisions to simplify bug modal

This commit is contained in:
Quincy Larson
2015-09-07 08:18:44 -07:00
parent e7e6bbb174
commit 5502aba817
2 changed files with 9 additions and 8 deletions

View File

@@ -72,6 +72,12 @@ $(document).ready(function() {
window.open('https://github.com/FreeCodeCamp/FreeCodeCamp/issues?q=is:issue is:all '+ queryIssue.substr(queryIssue.lastIndexOf('challenges/') + 11).replace('/', ''), '_blank');
});
$('#help-ive-found-a-bug-wiki-article').unbind('click');
$('#help-ive-found-a-bug-wiki-article').on('click', function() {
var queryIssue = window.location.href.toString();
window.open("https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Help-I've-Found-a-Bug", '_blank');
});
$('#report-issue').unbind('click');
$('#report-issue').on('click', function() {
var textMessage = 'https://github.com/freecodecamp/freecodecamp/issues/new?&body=Challenge ' + window.location.href + ' has an issue.';