|
@@ -280,7 +280,7 @@ export default class HTableForm {
|
|
|
const index = classArr.indexOf(name)
|
|
|
if (index === -1 && add) {
|
|
|
classArr.push(name)
|
|
|
- } else if (index !== -1 && false) {
|
|
|
+ } else if (index !== -1 && add === false) {
|
|
|
classArr.splice(index, 1)
|
|
|
}
|
|
|
dom.setAttribute('class', classArr.join(' '))
|