fix #394.
This commit is contained in:
parent
843f6d987c
commit
e8a2c96943
@ -980,7 +980,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
||||
let insertAfter = item.getAttribute('multipletab-insertafter');
|
||||
if (insertAfter) {
|
||||
try {
|
||||
eval('refNode = ('+insertAfter+').nextSibling');
|
||||
(new Function('return refNode = ('+insertAfter+').nextSibling'))();
|
||||
}
|
||||
catch(e) {
|
||||
}
|
||||
@ -988,7 +988,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
||||
let insertBefore = item.getAttribute('multipletab-insertbefore');
|
||||
if (refNode === void(0) && insertBefore) {
|
||||
try {
|
||||
eval('refNode = '+insertBefore);
|
||||
(new Function('return refNode = '+insertBefore))();
|
||||
}
|
||||
catch(e) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user