remove bogus form attrs from div.list

This commit is contained in:
Niklas Fiekas 2020-01-05 14:26:08 +01:00
parent 759bed47c0
commit 385f997ded
2 changed files with 2 additions and 6 deletions

View file

@ -52,9 +52,7 @@ export function view(ctrl: PieceCtrl): VNode {
return h('div.sub.piece.' + ctrl.dimension(), [
header(ctrl.trans.noarg('pieceSet'), () => ctrl.open('links')),
h('div.list', {
attrs: { method: 'post', action: '/pref/soundSet' }
}, d.list.map(pieceView(d.current, ctrl.set, ctrl.dimension() == 'd3')))
h('div.list', d.list.map(pieceView(d.current, ctrl.set, ctrl.dimension() == 'd3')))
]);
}

View file

@ -52,9 +52,7 @@ export function view(ctrl: ThemeCtrl): VNode {
return h('div.sub.theme.' + ctrl.dimension(), [
header(ctrl.trans.noarg('boardTheme'), () => ctrl.open('links')),
h('div.list', {
attrs: { method: 'post', action: '/pref/soundSet' }
}, d.list.map(themeView(d.current, ctrl.set)))
h('div.list', d.list.map(themeView(d.current, ctrl.set)))
]);
}