From 515f0a12d2cf211f91ca0b37653ddfe7fcef6c32 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 5 Oct 2020 18:56:03 +0530 Subject: [PATCH] 0.0.67 --- index.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index bae506b..24dc989 100644 --- a/index.html +++ b/index.html @@ -420,7 +420,7 @@

-

+

remove - - + +
@@ -2464,11 +2464,13 @@ } function setNameEditable() { - showPersonName.contentEditable = 'true' - showPersonName.focus() - document.execCommand('selectAll', false, null); - document.getSelection().collapseToEnd(); - personName = showPersonName.textContent + if(!showPersonName.isContentEditable){ + showPersonName.contentEditable = 'true' + showPersonName.focus() + document.execCommand('selectAll', false, null); + document.getSelection().collapseToEnd(); + personName = showPersonName.textContent + } } async function changePersonName() {