(newPost)
| 2255 | } |
| 2256 | |
| 2257 | const setPost = function(newPost) { |
| 2258 | post = newPost; |
| 2259 | currentlySelectedPanelIndex = 0; |
| 2260 | updateForm(); |
| 2261 | redraw(); |
| 2262 | } |
| 2263 | |
| 2264 | return { |
| 2265 | init: init, |
nothing calls this directly
no test coverage detected