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

Commit 7e5d5e3

Browse files
alirezamirianThomasBurleson
authored andcommitted
fix(demo): fix list demo secondary action.
event is not defined as argument of `doSecondaryAction()` Closes #2471.
1 parent 0813284 commit 7e5d5e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/list/demoListControls

src/components/list/demoListControls/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ angular.module('listDemo2', ['ngMaterial'])
5353
);
5454
};
5555

56-
$scope.doSecondaryAction = function() {
56+
$scope.doSecondaryAction = function(event) {
5757
$mdDialog.show(
5858
$mdDialog.alert()
5959
.title('Secondary Action')

0 commit comments

Comments
 (0)