mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
auto merge of #4256 : ema-fox/servo/password_input, r=jdm
This commit is contained in:
commit
d5c62ac2c4
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ impl LayoutHTMLInputElementHelpers for JS<HTMLInputElement> {
|
||||||
.unwrap_or_else(|| "".to_string()),
|
.unwrap_or_else(|| "".to_string()),
|
||||||
InputPassword => {
|
InputPassword => {
|
||||||
let raw = get_raw_textinput_value(self);
|
let raw = get_raw_textinput_value(self);
|
||||||
String::from_char(raw.len(), '●')
|
String::from_char(raw.char_len(), '●')
|
||||||
}
|
}
|
||||||
_ => get_raw_textinput_value(self),
|
_ => get_raw_textinput_value(self),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue