[tor-commits] [depictor/master] Disable autocorrect
tom at torproject.org
tom at torproject.org
Fri Jun 15 18:18:50 UTC 2018
commit 8e84601319bb7b4b1b9d4fa917f0b2dff52748a1
Author: Tom Ritter <tom at ritter.vg>
Date: Fri Jun 15 11:08:23 2018 -0700
Disable autocorrect
Closes #25940
---
website.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/website.py b/website.py
index 6fce488..2ba2cbb 100755
--- a/website.py
+++ b/website.py
@@ -1420,7 +1420,8 @@ class WebsiteWriter:
+ " }\n"
+ " };\n"
+ " $('#relay-addition-javascript-pointer').html('But you can add individual "
- + "relays from the current consensus here. <input type=\"text\" id=\"fingerprintBox\" "
+ + "relays from the current consensus here. <input autocomplete=\"off\" autocorrect=\"off\" "
+ + "autocapitalize=\"off\" spellcheck=\"false\" type=\"text\" id=\"fingerprintBox\" "
+ "placeholder=\"Fingerprint\"/><input type=\"button\" onclick=\"loadData()\" value=\"Load\"/>');\n"
+ " $('#fingerprintBox').on('keyup', function(e) { if(e.keyCode == 13) loadData(); });"
+ "</script>\n")
More information about the tor-commits
mailing list