From 2b64efc7f7a8671dd8ff858478ba2a918cca4900 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Wed, 17 Mar 2021 08:17:45 +0100 Subject: [PATCH] GIT_SILENT Fix password autofill after d8a706f3 Signed-off-by: Juraj Oravec --- src/lib/tools/scripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/tools/scripts.cpp b/src/lib/tools/scripts.cpp index 990968463..675aaf2c3 100644 --- a/src/lib/tools/scripts.cpp +++ b/src/lib/tools/scripts.cpp @@ -232,7 +232,7 @@ QString Scripts::completeFormData(const QByteArray &data) " var type = input.type.toLowerCase();" " if (type != 'text' && type != 'password' && type != 'email')" " continue;" - " if (input.name == key && input.name != "") {" + " if (input.name == key && input.name != '') {" " input.value = val;" " input.dispatchEvent(new Event('change'));" " }"