Skip to content

Commit

Permalink
refactor(list): remove extra class
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Jul 8, 2014
1 parent 4f10a72 commit b1bcece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/angular/directive/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function($animate, $timeout) {
listCtrl.canSwipeItems(!isShown);

$element.children().toggleClass('list-left-editing', isShown);
$element.toggleClass('disable-pointer-events left-editing', isShown);
$element.toggleClass('disable-pointer-events', isShown);

var deleteButton = jqLite($element[0].getElementsByClassName('item-delete'));
setButtonShown(deleteButton, listCtrl.showDelete);
Expand All @@ -157,7 +157,7 @@ function($animate, $timeout) {
listCtrl.canSwipeItems(!isShown);

$element.children().toggleClass('list-right-editing', isShown);
$element.toggleClass('disable-pointer-events right-editing', isShown);
$element.toggleClass('disable-pointer-events', isShown);

var reorderButton = jqLite($element[0].getElementsByClassName('item-reorder'));
setButtonShown(reorderButton, listCtrl.showReorder);
Expand Down

0 comments on commit b1bcece

Please sign in to comment.