mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-19 01:14:44 -05:00
Make event notification handler read the value from currentTarget, (#5309)
instead of target which may not be bound to any data. Fixes https://github.com/Polymer/polymer/issues/5308
This commit is contained in:
committed by
Tim van der Lippe
parent
d59546dc5c
commit
ffe8f7e8dc
@@ -356,7 +356,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
toPath = Polymer.Path.translate(fromProp, toPath, fromPath);
|
||||
value = detail && detail.value;
|
||||
} else {
|
||||
value = event.target[fromProp];
|
||||
value = event.currentTarget[fromProp];
|
||||
}
|
||||
value = negate ? !value : value;
|
||||
if (!inst[TYPES.READ_ONLY] || !inst[TYPES.READ_ONLY][toPath]) {
|
||||
|
||||
Reference in New Issue
Block a user