Skip to content

Commit 65ac17f

Browse files
committed
Merge pull request #1 from hobbysoldat/patch-2
Remove terminal: true, replace with priority: 1
2 parents 807894a + a6fd964 commit 65ac17f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chosen.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ angular.module('localytics.directives').directive 'chosen', ['$timeout', ($timeo
3333

3434
restrict: 'A'
3535
require: '?ngModel'
36-
terminal: true
36+
priority: 1
3737
link: (scope, element, attr, ngModel) ->
3838

3939
element.addClass('localytics-chosen')
@@ -106,4 +106,4 @@ angular.module('localytics.directives').directive 'chosen', ['$timeout', ($timeo
106106

107107
scope.$on '$destroy', (event) ->
108108
$timeout.cancel timer if timer?
109-
]
109+
]

0 commit comments

Comments
 (0)