From b10cddebe583dff888d844c550f607d52b496d49 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 1 Oct 2018 20:08:49 +0200 Subject: [PATCH] Move sharetabview to compiled handlebars Signed-off-by: Roeland Jago Douma --- apps/files_sharing/js/sharetabview.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/files_sharing/js/sharetabview.js b/apps/files_sharing/js/sharetabview.js index 7bb1f1229d0..fc7f2c5f045 100644 --- a/apps/files_sharing/js/sharetabview.js +++ b/apps/files_sharing/js/sharetabview.js @@ -25,10 +25,7 @@ className: 'tab shareTabView', template: function(params) { - if (!this._template) { - this._template = Handlebars.compile(TEMPLATE); - } - return this._template(params); + return TEMPLATE; }, getLabel: function() {