Merge pull request #8546 from kraktus/register_puzzle

small bug fixes
pull/8579/head
Thibault Duplessis 2021-04-05 16:04:33 +02:00 committed by GitHub
commit 4cf85456d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -237,6 +237,7 @@ function controls(ctrl: EditorCtrl, state: EditorState): VNode {
on: {
click() {
ctrl.chessground!.toggleOrientation();
ctrl.redraw();
},
},
},

View File

@ -124,7 +124,7 @@ export const userBox = (ctrl: Controller): VNode => {
if (!data.user)
return h('div.puzzle__side__user', [
h('p', ctrl.trans.noarg('toGetPersonalizedPuzzles')),
h('button.button', { attrs: { href: '/signup' } }, ctrl.trans.noarg('signUp')),
h('a.button', { attrs: { href: '/signup' } }, ctrl.trans.noarg('signUp')),
]);
const diff = ctrl.vm.round?.ratingDiff;
return h('div.puzzle__side__user', [