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

Commit 11b48b0

Browse files
committed
feat(sortable): initialize sortable with all user options, before first $watch
1 parent 6beb70c commit 11b48b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ angular.module('ui.sortable', [])
3838
update:null
3939
};
4040

41-
angular.extend(opts, uiSortableConfig);
41+
angular.extend(opts, uiSortableConfig, scope.$eval(attrs.uiSortable));
4242

4343
if (!angular.element.fn || !angular.element.fn.jquery) {
4444
$log.error('ui.sortable: jQuery should be included before AngularJS!');

0 commit comments

Comments
 (0)