Skip to content

Commit

Permalink
Apply code review comments
Browse files Browse the repository at this point in the history
- Remove useless css
- Use pointer not-allowed
  • Loading branch information
x4d3 committed Sep 14, 2017
1 parent e28b8dd commit a012611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/components/mnoe-tasks/mnoe-tasks.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
</button>
<mno-dropdown-filter-selector filters="$ctrl.tasksFilters" selected="$ctrl.selectedTasksFilter" on-select="$ctrl.onSelectFilter($event)"></mno-dropdown-filter-selector>
<div class="refresh-tasks" ng-click="$ctrl.onRefreshTasks()" ng-disabled="$ctrl.tasks.loading" ng-class="{'disabled': $ctrl.tasks.loading}">
<div class="refresh-tasks" ng-click="$ctrl.onRefreshTasks()" ng-class="{'disabled': $ctrl.tasks.loading}">
<i class="fa fa-refresh fa-2x" aria-hidden="true" ng-class="{'fa-spin': $ctrl.tasks.loading}"></i>
</div>
</div>
Expand Down
6 changes: 1 addition & 5 deletions src/app/components/mnoe-tasks/mnoe-tasks.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ mnoe-tasks {
}
&.disabled {
opacity: 0.5;
pointer-events: none;
> * {
opacity: 0.5;
pointer-events: none;
}
pointer: not-allowed;
}
}

Expand Down

0 comments on commit a012611

Please sign in to comment.