File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1+ < div id ="meetup-developers-error " class ="alert alert-danger hidden ">
2+ < p > There was a problem fetching the developers list. Please reload the page to try again.</ p >
3+ < samp class ="output "> </ samp >
4+ </ div >
5+
16< div id ="developers ">
27 <!-- Generating events below -->
38</ div >
109114 $ ( '#developers' ) . append ( paginator ) ;
110115 } )
111116 . fail ( function ( error ) {
112- console . log ( error ) ;
117+ $ ( '#meetup-developers-error' )
118+ . removeClass ( 'hidden' )
119+ . find ( '.output' )
120+ . text ( '' + error ) ;
113121 } ) ;
114122
115123 function createDevCard ( dev ) {
Original file line number Diff line number Diff line change 1+ < div id ="meetup-events-error " class ="alert alert-danger hidden ">
2+ < p > There was a problem fetching the Events. Please reload the page to try again.</ p >
3+ < samp class ="output "> </ samp >
4+ </ div >
5+
16< div id ="meetup-events ">
27 <!-- Generating events below -->
38</ div >
4045 } )
4146 } )
4247 . fail ( function ( error ) {
43- console . log ( error ) ;
48+ $ ( '#meetup-events-error' )
49+ . removeClass ( 'hidden' )
50+ . find ( '.output' )
51+ . text ( '' + error ) ;
4452 } ) ;
4553
4654 function createEventCard ( event ) {
You can’t perform that action at this time.
0 commit comments