change double click reference messages
This commit is contained in:
parent
431d35dd60
commit
411eb73522
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
<ul id="messages"></ul>
|
<ul id="messages"></ul>
|
||||||
<form id="form" action="">
|
<form id="form" action="">
|
||||||
<div class='inner-form'>
|
<div class='inner-form'>
|
||||||
<input placeholder="Double click text to paste" id="input" autocomplete="off" />
|
<input placeholder="Click text to paste" id="input" autocomplete="off" />
|
||||||
</div>
|
</div>
|
||||||
<div class='inner-form'>
|
<div class='inner-form'>
|
||||||
<button class='send'><a href='#'>Send</a></button>
|
<button class='send'><a href='#'>Send</a></button>
|
||||||
|
|
2
index.js
2
index.js
|
@ -72,7 +72,7 @@ async function addMsg(msg) {
|
||||||
}
|
}
|
||||||
wrap.appendChild(item);
|
wrap.appendChild(item);
|
||||||
|
|
||||||
item.title = 'Double click to copy';
|
item.title = 'Click to copy';
|
||||||
}
|
}
|
||||||
messages.appendChild(wrap);
|
messages.appendChild(wrap);
|
||||||
window.scrollTo(0, messages.offsetHeight);
|
window.scrollTo(0, messages.offsetHeight);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue