changeset 33:038cab68fa3a

Remove extra variable declaration.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 23 Dec 2018 20:11:18 +0100
parents b15e1581c3d4
children 45bd945c5722
files vcard.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vcard.js
+++ b/vcard.js
@@ -82,7 +82,7 @@ function initVCard(connection) {
     function onVCard4ChangeError(iq)
     {
         const string = parseErrorIq(iq);
-        const string = 'Failed to set vCard4: ' + string;
+        string = 'Failed to set vCard4: ' + string;
         console.log(string);
         spinnerError(spinner_img, string);
     }