mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-09 22:24:35 +02:00
initDefaultWidht() for various views
This commit is contained in:
parent
0cfd45d8a9
commit
3aa23db306
8 changed files with 16 additions and 2 deletions
|
@ -15,7 +15,7 @@ function ButtonView(options) {
|
|||
|
||||
TextView.call(this, options);
|
||||
|
||||
this.dimens.width = this.dimens.width || Math.min(10, this.client.term.termWidth - this.position.col);
|
||||
this.initDefaultWidth();
|
||||
}
|
||||
|
||||
util.inherits(ButtonView, TextView);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue