From 1bf77b68fc93a83c8f681c950652f2a5e6590f4c Mon Sep 17 00:00:00 2001 From: jgould Date: Thu, 14 Jul 2016 11:01:16 -0400 Subject: [PATCH] take array of params --- src/landing_page.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/landing_page.js b/src/landing_page.js index cb1889a..ed24182 100644 --- a/src/landing_page.js +++ b/src/landing_page.js @@ -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; } -- GitLab