Fix newTabButtonText option

This commit is contained in:
Thomas Brouard 2016-11-02 21:21:56 +01:00
parent 82e1749b07
commit 43b1fb7ae0

View file

@ -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);