From d9fd4e1577ce7a6df33552f70203f4f979c63520 Mon Sep 17 00:00:00 2001 From: Christoph Wurst <christoph@winzerhof-wurst.at> Date: Thu, 7 Jul 2016 10:14:38 +0200 Subject: [PATCH] fix jscs error --- js/views/account.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/views/account.js b/js/views/account.js index 12395001a..43a3ad991 100644 --- a/js/views/account.js +++ b/js/views/account.js @@ -102,7 +102,9 @@ define(function(require) { onClick: function(e) { e.preventDefault(); if (this.model.get('folders').length > 0) { - Radio.navigation.trigger('folder', this.model.get('accountId'), this.model.get('folders').first().get('id')); + var accountId = this.model.get('accountId'); + var folderId = this.model.get('folders').first().get('id'); + Radio.navigation.trigger('folder', accountId, folderId); } }, onShow: function() { -- GitLab