Skip to content

Commit

Permalink
Merge pull request #173 from T0nyX1ang/dev
Browse files Browse the repository at this point in the history
fix: PenpaText not called correctly and issues with constraints in minesweeper and akari
  • Loading branch information
swaroopg92 authored Sep 15, 2024
2 parents c126925 + b260b74 commit 3f1102e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/js/constraints.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const penpa_constraints = {
"show": ["mo_surface_lb",
"mo_number_lb", "sub_number1_lb",
"mo_combi_lb", "subc4", "combisub_mines", "combili_mines",
"mo_symbol_lb", "ms5", "li_sun_moon", "ms_sun_moon"
"mo_symbol_lb", "ms5", "ms_sun_moon"
],
"modeset": ["number", "symbol", "combi"],
"submodeset": ["1", "sun_moon", "mines"],
Expand All @@ -234,7 +234,7 @@ const penpa_constraints = {
"show": ["mo_surface_lb",
"mo_lineE_lb", "sub_lineE1_lb", "sub_lineE2_lb", "sub_lineE5_lb",
"mo_combi_lb", "subc4", "combisub_akari", "combili_akari",
"mo_symbol_lb", "ms5", "li_sun_moon", "ms_sun_moon"
"mo_symbol_lb", "ms5", "ms_sun_moon"
],
"modeset": ["symbol", "combi"],
"submodeset": ["sun_moon", "akari"],
Expand Down
2 changes: 1 addition & 1 deletion docs/js/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ function savetext_copy() {
}

// This needs to go after the copy takes place or else some browsers will not allow the copy.
infoMsg('<h2 class="info">' + PenpaText('copied_success') + '</h2>');
infoMsg('<h2 class="info">' + PenpaText.get('copied_success') + '</h2>');
}

function savetext_download() {
Expand Down

0 comments on commit 3f1102e

Please sign in to comment.