File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -320,11 +320,6 @@ export class MdSelectionList implements AfterContentInit, OnDestroy {
320
320
321
321
/** Toggles the selected state of the currently focused option. */
322
322
protected _toggleSelectOnFocusedOption ( ) : void {
323
- // Allow disabling of option selection
324
- if ( ! this . selectable ) {
325
- return ;
326
- }
327
-
328
323
let focusedIndex = this . _keyManager . activeItemIndex ;
329
324
330
325
if ( typeof focusedIndex === 'number' && this . _isValidIndex ( focusedIndex ) ) {
@@ -510,8 +505,7 @@ export class MdListItem implements AfterContentInit {
510
505
511
506
/** Whether this list item should show a ripple effect when clicked. */
512
507
isRippleEnabled ( ) {
513
- return ! this . disableRipple && ( this . _isNavList )
514
- && ! this . _list . disableRipple ;
508
+ return ! this . disableRipple && this . _isNavList && ! this . _list . disableRipple ;
515
509
}
516
510
517
511
_handleFocus ( ) {
You can’t perform that action at this time.
0 commit comments