Skip to content

Commit c3dfa4f

Browse files
committed
fixing leaderboard issue
1 parent 3df9d35 commit c3dfa4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

leaderboard.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>';

0 commit comments

Comments
 (0)