mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 01:26:31 +01:00
WebSockets: minor update in JS code style
Use anonymous blocks { } instead of anonymous functions as the outermost scope
in some files.
Also fix incorrect wording for a comment
This commit is contained in:
parent
f1d7e1759a
commit
cef81b8c23
5 changed files with 10 additions and 10 deletions
|
|
@ -167,7 +167,7 @@ export class Dialog extends BaseDialog {
|
|||
|
||||
show () {
|
||||
// opening a TK.Dialog with auto_close=true from a TK.Button callback
|
||||
// fails otherwise ev.stopPropagation() is called in the button event
|
||||
// fails unless ev.stopPropagation() is called in the button event
|
||||
// handler or setTimeout() is used here
|
||||
setTimeout(() => {
|
||||
this.tk.set('display_state', 'show');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue