diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-21 02:53:34 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-21 02:53:34 +0900 |
| commit | a1e57841e71e442b1bf52e445e6c541f16ec066d (patch) | |
| tree | 2b6862b8b47a68a98d0c1534d5dbe1ca356bea2d /src/web/app/desktop/scripts/input-dialog.ts | |
| parent | wip (diff) | |
| download | misskey-a1e57841e71e442b1bf52e445e6c541f16ec066d.tar.gz misskey-a1e57841e71e442b1bf52e445e6c541f16ec066d.tar.bz2 misskey-a1e57841e71e442b1bf52e445e6c541f16ec066d.zip | |
wip
Diffstat (limited to 'src/web/app/desktop/scripts/input-dialog.ts')
| -rw-r--r-- | src/web/app/desktop/scripts/input-dialog.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/web/app/desktop/scripts/input-dialog.ts b/src/web/app/desktop/scripts/input-dialog.ts deleted file mode 100644 index b06d011c6b..0000000000 --- a/src/web/app/desktop/scripts/input-dialog.ts +++ /dev/null @@ -1,12 +0,0 @@ -import * as riot from 'riot'; - -export default (title, placeholder, defaultValue, onOk, onCancel) => { - const dialog = document.body.appendChild(document.createElement('mk-input-dialog')); - return (riot as any).mount(dialog, { - title: title, - placeholder: placeholder, - 'default': defaultValue, - onOk: onOk, - onCancel: onCancel - }); -}; |