remove bogus form attrs from div.list
This commit is contained in:
parent
759bed47c0
commit
385f997ded
|
@ -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')))
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -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)))
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue