]> source.dussan.org Git - jquery.git/commit
Attrs: Force reflow in select value setter 1485/head
authorOleg <markelog@gmail.com>
Tue, 14 Jan 2014 22:26:56 +0000 (02:26 +0400)
committerOleg <markelog@gmail.com>
Thu, 16 Jan 2014 00:56:32 +0000 (04:56 +0400)
commit9fe051d57ea1dbe3697be32a4f21b08cbeb7d31f
tree6e77f16b7fbe954049feb4d4e8de78c35f50715b
parent92cbf5362cfe4fe52e919eecfebe8ecbe27ee5e3
Attrs: Force reflow in select value setter

When new option element is added to select box we need to force reflow
of newly added node in order to workaround delay of initialization props.

try...catch statment is required for bug isolation

Fixes #2252
src/attributes/val.js