mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +00:00
fix broken build for IE. Read option.type==select-multiple rather then check presence of multiple attribute
This commit is contained in:
parent
459a01e582
commit
5be92f7b9c
1 changed files with 1 additions and 1 deletions
|
|
@ -542,7 +542,7 @@ angularWidget('option', function(){
|
||||||
this.directives(true);
|
this.directives(true);
|
||||||
return function(option) {
|
return function(option) {
|
||||||
var select = option.parent();
|
var select = option.parent();
|
||||||
var isMultiple = select.attr('multiple') == '';
|
var isMultiple = select[0].type == 'select-multiple';
|
||||||
var scope = retrieveScope(select);
|
var scope = retrieveScope(select);
|
||||||
var model = modelAccessor(scope, select);
|
var model = modelAccessor(scope, select);
|
||||||
var formattedModel = modelFormattedAccessor(scope, select);
|
var formattedModel = modelFormattedAccessor(scope, select);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue