diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-22 16:18:53 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-22 16:18:53 +0900 |
| commit | f64d3942d7b3528557aa5aedb58d7f633b6e716b (patch) | |
| tree | 0df77b2453242e05e5fa9371a57500f23853fbda /src | |
| parent | :art: (diff) | |
| download | sharkey-f64d3942d7b3528557aa5aedb58d7f633b6e716b.tar.gz sharkey-f64d3942d7b3528557aa5aedb58d7f633b6e716b.tar.bz2 sharkey-f64d3942d7b3528557aa5aedb58d7f633b6e716b.zip | |
:art:
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/components/dialog.vue | 1 | ||||
| -rw-r--r-- | src/client/directives/tooltip.ts | 2 | ||||
| -rw-r--r-- | src/client/os.ts | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/client/components/dialog.vue b/src/client/components/dialog.vue index 0a7508aee9..f3611f050e 100644 --- a/src/client/components/dialog.vue +++ b/src/client/components/dialog.vue @@ -10,7 +10,6 @@ <i v-else-if="type === 'warning'" class="fas fa-exclamation-triangle"></i> <i v-else-if="type === 'info'" class="fas fa-info-circle"></i> <i v-else-if="type === 'question'" class="fas fa-question-circle"></i> - <i v-else-if="type === 'help'" class="fas fa-question-circle"></i> <i v-else-if="type === 'waiting'" class="fas fa-spinner fa-pulse"></i> </div> <header v-if="title"><Mfm :text="title"/></header> diff --git a/src/client/directives/tooltip.ts b/src/client/directives/tooltip.ts index b453216602..ee690558af 100644 --- a/src/client/directives/tooltip.ts +++ b/src/client/directives/tooltip.ts @@ -29,7 +29,7 @@ export default { ev.preventDefault(); ev.stopPropagation(); dialog({ - type: 'help', + type: 'info', text: binding.value, }); return false; diff --git a/src/client/os.ts b/src/client/os.ts index 1e1d950a12..8125332798 100644 --- a/src/client/os.ts +++ b/src/client/os.ts @@ -215,7 +215,7 @@ export function modalPageWindow(path: string) { } export function dialog(props: { - type: 'error' | 'info' | 'success' | 'warning' | 'waiting' | 'help'; + type: 'error' | 'info' | 'success' | 'warning' | 'waiting'; title?: string | null; text?: string | null; }) { |