bugfix
This commit is contained in:
parent
c366f5c0b1
commit
7e10a2e90c
@ -24,7 +24,9 @@ event:
|
||||
bricks.dom_on_off_observer=new MutationObserver((mutations)=>{
|
||||
for (let m of mutations) {
|
||||
for (let n of m.removedNodes) {
|
||||
console.log('**** ', m.removedNodes.length, 'nodes removed');
|
||||
if (n.bricks_widget){
|
||||
console.log('**** ', n, 'widget removed');
|
||||
var w = n.bricks_widget;
|
||||
w.dispatch('domoff');
|
||||
}
|
||||
|
||||
@ -108,6 +108,7 @@ bricks.Wterm = class extends bricks.JsWidget {
|
||||
term.onResize(({cols, rows}) =>{
|
||||
this.send_term_size();
|
||||
});
|
||||
this.send_term_size();
|
||||
term.focus();
|
||||
}
|
||||
term_resize(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user