Skip to content

Commit 8e6eb32

Browse files
committed
beta v1.3.3 - made Round # show up on collections that support it
1 parent 8cdacfc commit 8e6eb32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<a href="../donate.html"><p id="donate" class="banner-text">donate</p></a>
2121
</div>
2222
<div class="about-text">
23-
<p style="color: aqua">beta v1.3.2.1<br></p>
23+
<p style="color: aqua">beta v1.3.3br></p>
2424
<p style="display: inline-block;">The Chess Library is an open-source database of 700,000+ chess games, run by
2525
<a href="https://www.github.com/gitpushjoe" style="word-wrap: break-word;"><nobr>a single college student.</nobr></a> It's currently in open beta testing right now so if you have any suggestions, bug findings, questions, or would like to help expand the database,
2626
please share using the donate link above. (Note: The back-end web scraping and data formatting scripts will be up soon.)<br>&nbsp;<br><br>Sources:<br>

database.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ function displayGame(arr, idx=-1) {
365365
const num = idx;
366366
const color = arr[11] == "1-0" ? "white-border" : arr[11] == "0-1" ? "black-border" : "";
367367
let $gameContainer = $(`<div class="game-container ${color}"></div>`);
368-
const round = ['world_championships','candidates','interzonals'].includes($("#collection").val()) ? ` Rd. ${arr[1]}` : ''
368+
const round = ['world_championships','candidates','interzonals','wijk','olympiads','sinquefield','titled_tuesday','wijk','women','world_cup'].includes($("#collection").val()) ? ` Rd. ${arr[1]}` : ''
369369
let $event = $('<p class="event-date-result"></p>').text(arr[2] + round);
370370
let $dateAndResult = $('<p class="event-date-result date-result"></p>').text(arr[3] + " \xa0 •\xa0 " + arr[11]);
371371
let $whiteTitle = $('<p class="title"></p>').text(arr[8]);

0 commit comments

Comments
 (0)