Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 903e1f4

Browse files
committed
use prop
1 parent 5fe113f commit 903e1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/ngOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ var ngOptionsDirective = ['$compile', '$document', '$parse', function($compile,
474474
// Otherwise, screen readers might get confused
475475
if (selectedOption) {
476476
selectedOption.element.removeAttribute('selected');
477-
selectedOption.element.selected = false; // IE9
477+
jqLite(selectedOption.element).prop('selected', false); // IE9
478478
}
479479

480480
if (option) {

0 commit comments

Comments
 (0)