Skip to content

Commit

Permalink
Update crossword.js
Browse files Browse the repository at this point in the history
add no repeat background
  • Loading branch information
superdiazzz authored Jun 29, 2023
1 parent d50aa78 commit 7852543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crossword.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ var CrosswordUtils = {

if(is_start_of_word) {
var img_url = CrosswordUtils.PATH_TO_PNGS_OF_NUMBERS + label + ".png";
html.push("<td class='" + css_class + "' title='" + r + ", " + c + "' style=\"background-image:url('" + img_url + "')\">");
html.push("<td class='" + css_class + "' title='" + r + ", " + c + "' style=\"background-repeat: no-repeat; background-image:url('" + img_url + "')\">");
label++;
} else {
html.push("<td class='" + css_class + "' title='" + r + ", " + c + "'>");
Expand Down

0 comments on commit 7852543

Please sign in to comment.