mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
style(input): fix trailing whitespace
Oops. I blame vim for this little accident.
This commit is contained in:
@@ -903,7 +903,7 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) {
|
||||
var value = element.val(),
|
||||
event = ev && ev.type;
|
||||
|
||||
// IE (11 and under) seem to emit an 'input' event if the placeholder value changes.
|
||||
// IE (11 and under) seem to emit an 'input' event if the placeholder value changes.
|
||||
// We don't want to dirty the value when this happens, so we abort here. Unfortunately,
|
||||
// IE also sends input events for other non-input-related things, (such as focusing on a
|
||||
// form control), so this change is not entirely enough to solve this.
|
||||
|
||||
Reference in New Issue
Block a user