mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 13:25:44 +01:00
Clean up
This commit is contained in:
parent
dbc2f42399
commit
9c4e3142b1
2 changed files with 0 additions and 20 deletions
|
@ -1,15 +0,0 @@
|
||||||
import * as riot from 'riot';
|
|
||||||
|
|
||||||
export default opts => {
|
|
||||||
const app = document.getElementById('app');
|
|
||||||
app.style.display = 'none';
|
|
||||||
|
|
||||||
function recover() {
|
|
||||||
app.style.display = 'block';
|
|
||||||
}
|
|
||||||
|
|
||||||
const form = riot.mount(document.body.appendChild(document.createElement('mk-post-form')), opts)[0];
|
|
||||||
form
|
|
||||||
.on('cancel', recover)
|
|
||||||
.on('post', recover);
|
|
||||||
};
|
|
|
@ -1,5 +0,0 @@
|
||||||
import * as riot from 'riot';
|
|
||||||
|
|
||||||
const ev = riot.observable();
|
|
||||||
|
|
||||||
export default ev;
|
|
Loading…
Reference in a new issue