Commit 1bf77b68 authored by jgould's avatar jgould

take array of params

parent 0342de59
......@@ -108,11 +108,12 @@ morpheus.LandingPage.prototype = {
var optionsArray = _.isArray(openOptions) ? openOptions : [openOptions];
var _this = this;
optionsArray.forEach(function (options) {
if (_this.heatmap == null) {
if (_this.heatmap == null) { // first tab
options.landingPage = _this;
options.el = _this.pageOptions.el;
} else {
} else { // more tabs
options.focus = false;
options.inheritFromParent = false;
options.parent = _this.heatmap;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment