Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 9917654

Browse files
author
Oliver Kovacs
committed
fix(typo) use defined variable
1 parent 6d63149 commit 9917654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ angular.module('ui.select2', []).value('uiSelect2Config', {}).directive('uiSelec
9797
} else {
9898
if (opts.multiple) {
9999
var viewValue = controller.$viewValue;
100-
if (angular.isString(controller.$viewValue)) {
100+
if (angular.isString(viewValue)) {
101101
viewValue = viewValue.split(',');
102102
}
103103
elm.select2(

0 commit comments

Comments
 (0)