File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,15 +96,15 @@ <h3 style="text-align: center;">NWoC 2020 Leaderboard</h3>
9696 </ div >
9797 < script type ="text/javascript ">
9898 $ . ajax ( {
99- url : 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSD6wb5j6F4uP3Qz3Z5jKeXAvSxdxphc6T9r_IurCzOBWX7lzZ1AtFNRYILB__dOnosSlE9elUMPF75/pub?gid=0&single=true& output=csv' ,
99+ url : 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSD6wb5j6F4uP3Qz3Z5jKeXAvSxdxphc6T9r_IurCzOBWX7lzZ1AtFNRYILB__dOnosSlE9elUMPF75/pub?output=csv' ,
100100 success : maketable ,
101101 error : function ( ) { $ ( '#leader-div' ) . html ( '<p>Leaderboard will be up soon!.</p>' ) ; }
102102 } ) ;
103103
104104 function maketable ( data ) {
105105 var rows = data . split ( / \r ? \n | \r / ) ;
106106 if ( rows . length <= 1 ) {
107- $ ( '#leader-div' ) . html ( '<p>Data could not be parsed .</p>' ) ;
107+ $ ( '#leader-div' ) . html ( '<p>Problem observed while creating table .</p>' ) ;
108108 return ;
109109 }
110110 var table = '<table class=\'leaderboard\'><thead><th>Position</th><th class=\'handle\'>GitHub Handle</th><th>Score</th></thead><tbody>' ;
You can’t perform that action at this time.
0 commit comments