1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

remove paper drawer auto-focus

This commit is contained in:
Luke Pulverenti 2016-03-04 23:16:20 -05:00
parent 017d0f0057
commit bfc9058488

View file

@ -586,8 +586,8 @@ Custom property | Description | Default
this.notifyResize(); this.notifyResize();
} }
if (e.propertyName === 'transform' && this.selected === 'drawer') { if (e.propertyName === 'transform' && this.selected === 'drawer') {
var focusedChild = this._getAutoFocusedNode(); //var focusedChild = this._getAutoFocusedNode();
focusedChild && focusedChild.focus(); //focusedChild && focusedChild.focus();
} }
}, },
@ -827,7 +827,7 @@ Custom property | Description | Default
focusedChildCameFromDrawer = path.shift() === drawerContent; focusedChildCameFromDrawer = path.shift() === drawerContent;
} }
if (!focusedChildCameFromDrawer && autoFocusedNode) { if (!focusedChildCameFromDrawer && autoFocusedNode) {
autoFocusedNode.focus(); //autoFocusedNode.focus();
} }
}, },