mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Fix access key creation
The $$ field is only available in legacy Polymer
This commit is contained in:
parent
b6fc278080
commit
db692b9d76
1 changed files with 1 additions and 1 deletions
|
|
@ -643,7 +643,7 @@ export class ServerView extends DirMixin(PolymerElement) {
|
|||
this.push('accessKeyRows', accessKey);
|
||||
// Force render the access key list so that the input is present in the DOM
|
||||
this.$.accessKeysContainer.querySelector('dom-repeat').render();
|
||||
const input = this.$$(`#access-key-${accessKey.id}`);
|
||||
const input = this.shadowRoot.querySelector(`#access-key-${accessKey.id}`);
|
||||
input.select();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue