Remove redundant code in password_form html file
Bug: 336449363 Change-Id: Ia038f0f2e453b69f66850ebb77d52ebdf745c80a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5472534 Reviewed-by: Mahesh Machavolu <mahesh.ma@samsung.com> Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by: Jinsuk Kim <jinsukkim@chromium.org> Cr-Commit-Position: refs/heads/main@{#1291933}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
72a8b0082a
commit
73e75a2a24
@ -85,13 +85,13 @@
|
||||
}
|
||||
|
||||
var inputText = document.getElementById("input_text");
|
||||
var contenteditableEvent = document.getElementById("contenteditable_event");
|
||||
var inputPassword = document.getElementById("input_password");
|
||||
|
||||
// SelectionEventListener should be outside registerListenersAndObserver() to avoid duplication.
|
||||
addSelectionEventListener("selectionchange");
|
||||
|
||||
registerListenersAndObserver(inputText);
|
||||
registerListenersAndObserver(contenteditableEvent);
|
||||
registerListenersAndObserver(inputPassword);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user