mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 18:03:09 +02:00
Fix #2301
This commit is contained in:
parent
d7dbe503b6
commit
41cf856e26
3 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
const kaos = [
|
const faces = [
|
||||||
'(=^・・^=)',
|
'(=^・・^=)',
|
||||||
'v(\'ω\')v',
|
'v(\'ω\')v',
|
||||||
'🐡( \'-\' 🐡 )フグパンチ!!!!',
|
'🐡( \'-\' 🐡 )フグパンチ!!!!',
|
||||||
|
@ -7,4 +7,4 @@ const kaos = [
|
||||||
'(Δ・x・Δ)'
|
'(Δ・x・Δ)'
|
||||||
];
|
];
|
||||||
|
|
||||||
export default () => kaos[Math.floor(Math.random() * kaos.length)];
|
export default () => faces[Math.floor(Math.random() * faces.length)];
|
|
@ -58,7 +58,7 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import insertTextAtCursor from 'insert-text-at-cursor';
|
import insertTextAtCursor from 'insert-text-at-cursor';
|
||||||
import * as XDraggable from 'vuedraggable';
|
import * as XDraggable from 'vuedraggable';
|
||||||
import getKao from '../../../common/scripts/get-kao';
|
import getFace from '../../../common/scripts/get-face';
|
||||||
import MkVisibilityChooser from '../../../common/views/components/visibility-chooser.vue';
|
import MkVisibilityChooser from '../../../common/views/components/visibility-chooser.vue';
|
||||||
import parse from '../../../../../mfm/parse';
|
import parse from '../../../../../mfm/parse';
|
||||||
import { host } from '../../../config';
|
import { host } from '../../../config';
|
||||||
|
@ -421,7 +421,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
kao() {
|
kao() {
|
||||||
this.text += getKao();
|
this.text += getFace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -56,7 +56,7 @@ import Vue from 'vue';
|
||||||
import insertTextAtCursor from 'insert-text-at-cursor';
|
import insertTextAtCursor from 'insert-text-at-cursor';
|
||||||
import * as XDraggable from 'vuedraggable';
|
import * as XDraggable from 'vuedraggable';
|
||||||
import MkVisibilityChooser from '../../../common/views/components/visibility-chooser.vue';
|
import MkVisibilityChooser from '../../../common/views/components/visibility-chooser.vue';
|
||||||
import getKao from '../../../common/scripts/get-kao';
|
import getFace from '../../../common/scripts/get-face';
|
||||||
import parse from '../../../../../mfm/parse';
|
import parse from '../../../../../mfm/parse';
|
||||||
import { host } from '../../../config';
|
import { host } from '../../../config';
|
||||||
|
|
||||||
|
@ -313,7 +313,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
kao() {
|
kao() {
|
||||||
this.text += getKao();
|
this.text += getFace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue