fix:

update
parent aedbbdca
......@@ -52,6 +52,7 @@ import {NgProgressModule} from 'ngx-progressbar';
import {TestPageComponent, TestPageComponentDialog} from './test-page/test-page.component';
import {BlankPageComponent} from './blank-page/blank-page.component';
import {MaterialModule} from './MaterialModule.component';
import {CookieService} from 'ngx-cookie-service';
@NgModule({
imports: [
......@@ -111,6 +112,7 @@ import {MaterialModule} from './MaterialModule.component';
LogService,
UUIDService,
DialogService,
CookieService,
NGXLogger
]
})
......
......@@ -63,8 +63,8 @@ export class ElementTermComponent implements OnInit, AfterViewInit {
}
that.term.resize(term.col, term.row);
if (that.host) {
this._cookie.set('cols', term.col.toString(), 99, '/', document.domain);
this._cookie.set('rows', term.row.toString(), 99, '/', document.domain);
that._cookie.set('cols', term.col.toString(), 99, '/', document.domain);
that._cookie.set('rows', term.row.toString(), 99, '/', document.domain);
TermWS.emit('resize', {'cols': term.col, 'rows': term.row});
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment