syntax editor + minibar: fix bug with repeated switching back and forth

By avoiding "this" in callback functions, the code can be kept cleaner.
This commit is contained in:
hallgren
2012-11-23 13:15:16 +00:00
parent ee2f0a7487
commit 9e430184ba
3 changed files with 6 additions and 7 deletions

View File

@@ -41,7 +41,6 @@ function Minibar(server,opts) {
/* --- Creating the components of the minibar --------------------------- */
this.translations=new Translations(server,this.options)
this.translations.minibar=this; // ref to parent
this.input=new Input(server,this.translations,this.options)
/* --- Creating user interface elements --------------------------------- */