We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e11ecc5 + 642368e commit 7dacecaCopy full SHA for 7daceca
src/Halogen/VDom/DOM/Prop.purs
@@ -193,4 +193,7 @@ removeProperty ∷ ∀ eff. Fn.Fn2 String DOM.Element (Eff (dom ∷ DOM | eff) U
193
removeProperty = Fn.mkFn2 \key el →
194
case typeOf (Fn.runFn2 Util.unsafeGetAny key el) of
195
"string" → Fn.runFn3 Util.unsafeSetAny key "" el
196
- _ → Fn.runFn3 Util.unsafeSetAny key Util.jsUndefined el
+ _ → case key of
197
+ "rowSpan" → Fn.runFn3 Util.unsafeSetAny key 1 el
198
+ "colSpan" → Fn.runFn3 Util.unsafeSetAny key 1 el
199
+ _ → Fn.runFn3 Util.unsafeSetAny key Util.jsUndefined el
0 commit comments