bux fixes, profile initials
This commit is contained in:
parent
41528e7e27
commit
ccb07d594b
12 changed files with 69 additions and 31 deletions
|
|
@ -95,7 +95,6 @@ function draggify(elementId, margin) {
|
|||
const onMouseUp = (e) => {
|
||||
e.preventDefault();
|
||||
|
||||
console.log("onMouseUp");
|
||||
window.removeEventListener('mousemove', onMouseMove);
|
||||
window.removeEventListener('mouseup', onMouseUp);
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ function useText(elementId, left, typing)
|
|||
if (e.key === "Enter" && el.value)
|
||||
{
|
||||
window.mainApi.send("message", {
|
||||
text: el.value, audio: false });
|
||||
text: el.value, audio: null });
|
||||
show.value = false;
|
||||
}
|
||||
});
|
||||
|
|
@ -56,7 +56,7 @@ function useText(elementId, left, typing)
|
|||
|
||||
Vue.watch(left, calcSide);
|
||||
|
||||
Vue.watch(show, (c, p_) => {
|
||||
Vue.watch(show, (c, _p) => {
|
||||
if (c) {
|
||||
el.focus();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue