diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-01-13 19:25:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-13 19:25:01 +0100 |
commit | ff2819911da6cbbed5ee42c35d695240f06e65e3 (patch) | |
tree | bf47e765a9cbed3935126d96f53f35f6f32b1795 /src/manipulation.js | |
parent | eb35be528fdea40faab4d89ac859d38dfd024271 (diff) | |
download | jquery-ff2819911da6cbbed5ee42c35d695240f06e65e3.tar.gz jquery-ff2819911da6cbbed5ee42c35d695240f06e65e3.zip |
Attributes: Refactor val(): don't strip carriage return, isolate IE workarounds
Before this change, `val()` was stripping out carriage return characters from
the returned value. No test has relied on that. The logic was different for
option elements as its custom defined hook was omitting this stripping logic.
This commit gets rid of the carriage return removal and isolates the IE-only
select val getter to be skipped in other browsers.
Closes gh-4585
Diffstat (limited to 'src/manipulation.js')
0 files changed, 0 insertions, 0 deletions