Skip to content
Snippets Groups Projects
Unverified Commit d9fd4e15 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

fix jscs error

parent 613cfb58
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment