HTMLTableSectionElement insertRow argument order swapped
Closed this issue · 1 comments
ajscholl commented
foreign import insertRow' :: forall eff. Int -> HTMLTableSectionElement -> Eff (dom :: DOM | eff) HTMLElement
The Int is passed first...
exports["insertRow'"] = function (section) {
return function (index) {
return function () {
return section.insertRow(index);
};
};
};
The Int is expected at the second position... calling insertRow' or insertRow thus always fails.
The same also applies to the code for HTMLTableElement
garyb commented
Thanks for the report!