From 727d6670c53cc3938f330f3f060b62606c09d2c6 Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Mon, 23 Sep 2013 14:53:28 -0300 Subject: [PATCH] chore(select): fix migrate warning for jQuery.fn.attr('selected') Closes #4107 --- src/ng/directive/select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/directive/select.js b/src/ng/directive/select.js index 9fd2077dca65..62eda1eb2605 100644 --- a/src/ng/directive/select.js +++ b/src/ng/directive/select.js @@ -533,7 +533,7 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) { // rather then the element. (element = optionTemplate.clone()) .val(option.id) - .attr('selected', option.selected) + .prop('selected', option.selected) .text(option.label); }