Fixed help modal part 3: the modal strikes back

pull/2544/head
benmcmahon100 2015-08-22 23:18:10 +01:00
parent a28a79124c
commit 38397fa5f7
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ $(document).ready(function() {
$('.close-modal').unbind('click');
$('.close-modal').on('click', function(){
setTimeout(function() {
$('#help-modal').modal('hide');
$('.close-modal').parent().parent().parent().parent().modal('hide');
}, 200);
});

View File

@ -9,7 +9,7 @@
a(href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-install-Screenhero' target='_blank') Screenhero
| .
h3 Other campers may then message you about pair programming.
a.btn.btn-lg.btn-primary.btn-block(href='https://gitter.im/FreeCodeCamp/LetsPair', data-dismiss='modal', aria-hidden='true' target='_blank') Take me to the pair programming room
a.btn.btn-lg.btn-primary.btn-block.close-modal(href='https://gitter.im/FreeCodeCamp/LetsPair', target='_blank') Take me to the pair programming room
a.btn.btn-lg.btn-info.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Cancel
#issue-modal.modal(tabindex='-1')