mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-22 19:43:53 +00:00
Fix newTabButtonText option
This commit is contained in:
parent
82e1749b07
commit
43b1fb7ae0
2
index.js
2
index.js
|
@ -38,7 +38,7 @@ class TabGroup extends EventEmitter {
|
||||||
viewClass: args.viewClass || "etabs-view",
|
viewClass: args.viewClass || "etabs-view",
|
||||||
closeButtonText: args.closeButtonText || "✖",
|
closeButtonText: args.closeButtonText || "✖",
|
||||||
newTab: args.newTab,
|
newTab: args.newTab,
|
||||||
newTabButtonText: args.newTabButton || "+",
|
newTabButtonText: args.newTabButtonText || "+",
|
||||||
ready: args.ready
|
ready: args.ready
|
||||||
};
|
};
|
||||||
this.tabContainer = document.querySelector(options.tabContainerSelector);
|
this.tabContainer = document.querySelector(options.tabContainerSelector);
|
||||||
|
|
Loading…
Reference in a new issue