bugfix
This commit is contained in:
parent
9f28289bb6
commit
76a6511fbd
@ -12,6 +12,8 @@
|
||||
<script src="{{entire_url('/bricks/3parties/videojs-ie8.min.js')}}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script src="//cdn.bootcdn.net/ajax/libs/eruda/2.3.3/eruda.js"></script>
|
||||
<script>eruda.init();</script>
|
||||
<script src="{{entire_url('/bricks/3parties/marked.min.js')}}"></script>
|
||||
<script src="{{entire_url('/bricks/3parties/xterm.js')}}"></script>
|
||||
<script src="{{entire_url('/bricks/3parties/video.min.js')}}"></script>
|
||||
|
@ -46,7 +46,10 @@ bricks.Layout = class extends bricks.JsWidget {
|
||||
w.dispatch('on_parent', null);
|
||||
}
|
||||
clear_widgets(w){
|
||||
this.dom_element.replaceChildren();
|
||||
var e = this.dom_element;
|
||||
while(e.firstChild){
|
||||
e.removeChild(e.firstChild);
|
||||
}
|
||||
for (var i=0;i<this.children.length;i++){
|
||||
var w = this.children[i];
|
||||
w.parent = null;
|
||||
|
Loading…
Reference in New Issue
Block a user