mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 23:50:23 +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);
|
||||
return function(option) {
|
||||
var select = option.parent();
|
||||
var isMultiple = select.attr('multiple') == '';
|
||||
var isMultiple = select[0].type == 'select-multiple';
|
||||
var scope = retrieveScope(select);
|
||||
var model = modelAccessor(scope, select);
|
||||
var formattedModel = modelFormattedAccessor(scope, select);
|
||||
|
|
|
|||
Loading…
Reference in a new issue