Removed NBSP while coping info to clipboard
Signed-off-by: Parth Raiyani <pmr642001@gmail.com> Change-Id: I2566a4902ed36e53ad2acfbe1c32efccb04bddda
This commit is contained in:
parent
5525ffab36
commit
0f749d45a8
1 changed files with 1 additions and 0 deletions
|
@ -845,6 +845,7 @@ L.Map.include({
|
|||
text += 'LOKit version: ' + this.getVersionInfoFromClass('lokit-version') + '\n';
|
||||
text += 'Served by: ' + document.getElementById('os-info').innerText + '\n';
|
||||
text += 'Server ID: ' + document.getElementById('coolwsd-id').innerText + '\n';
|
||||
text = text.replace(/\u00A0/g, ' ');
|
||||
|
||||
if (navigator.clipboard && window.isSecureContext) {
|
||||
navigator.clipboard.writeText(text)
|
||||
|
|
Loading…
Reference in a new issue