mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-13 22:39:59 +08:00
fix broken build for IE. Read option.type==select-multiple rather then check presence of multiple attribute
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user