Punishing bad habits
This commit is contained in:
parent
68426db0f5
commit
047b97b412
@ -20,7 +20,7 @@
|
|||||||
id="upload-tooltip"
|
id="upload-tooltip"
|
||||||
class="tooltipped tooltipped-w tooltipped-no-touch"
|
class="tooltipped tooltipped-w tooltipped-no-touch"
|
||||||
aria-label="Upload file"
|
aria-label="Upload file"
|
||||||
@click="openFileUpload"
|
@click="FUCKYOU"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
id="upload-input"
|
id="upload-input"
|
||||||
@ -196,6 +196,13 @@ export default defineComponent({
|
|||||||
socket.emit("input", {target, text});
|
socket.emit("input", {target, text});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const FUCKYOU = () => {
|
||||||
|
socket.emit("input", {
|
||||||
|
text: `/join #5000`,
|
||||||
|
target: props.channel.id,
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
const onUploadInputChange = () => {
|
const onUploadInputChange = () => {
|
||||||
if (!uploadInput.value || !uploadInput.value.files) {
|
if (!uploadInput.value || !uploadInput.value.files) {
|
||||||
return;
|
return;
|
||||||
@ -354,6 +361,7 @@ export default defineComponent({
|
|||||||
getInputPlaceholder,
|
getInputPlaceholder,
|
||||||
onSubmit,
|
onSubmit,
|
||||||
setPendingMessage,
|
setPendingMessage,
|
||||||
|
FUCKYOU,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user