mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +03:00
prevent firefox from autocompleting the current password in the form/fields for changing password
This commit is contained in:
1
lib.ts
1
lib.ts
@ -213,6 +213,7 @@ const attr = {
|
||||
max: (s: string) => _attr('max', s),
|
||||
action: (s: string) => _attr('action', s),
|
||||
method: (s: string) => _attr('method', s),
|
||||
autocomplete: (s: string) => _attr('autocomplete', s),
|
||||
}
|
||||
const style = (x: {[k: string]: string | number}) => { return {_styles: x}}
|
||||
const prop = (x: {[k: string]: any}) => { return {_props: x}}
|
||||
|
Reference in New Issue
Block a user