fix not being able to close PM tabs
This commit is contained in:
parent
2eacb06c9e
commit
fafca96711
@ -509,11 +509,11 @@ var tab_free = function(id) {
|
||||
if (id === "tab-main") return;
|
||||
|
||||
// remove tab item and body
|
||||
var el = el("#tabitem-"+id);
|
||||
el.parentNode.removeChild(el);
|
||||
var $el = el("#tabitem-"+id);
|
||||
$el.parentNode.removeChild($el);
|
||||
|
||||
var el = el("#"+id);
|
||||
el.parentNode.removeChild(el);
|
||||
$el = el("#"+id);
|
||||
$el.parentNode.removeChild($el);
|
||||
|
||||
// clear from PM tabs
|
||||
for (var i in pm_tabs) {
|
||||
|
Loading…
Reference in New Issue
Block a user