diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-09-20 16:38:10 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-09-20 16:38:10 +0200 |
commit | a2232bbd25929b6ac8020b5a2aa8ca8b0235b9a8 (patch) | |
tree | aaaed998a7105e75b6a8a1e6f4475674891c85ba /js/build/app.js | |
parent | 0d68f95aa6e2bc952052f1cd289fde0977cce006 (diff) |
version bump6.0.4
Diffstat (limited to 'js/build/app.js')
-rw-r--r-- | js/build/app.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/js/build/app.js b/js/build/app.js index 55a4201c4..46e5e30bd 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -2661,7 +2661,8 @@ app.directive('newsArticleActions', function () { return { restrict: 'A', scope: { - newsArticleActions: '=' + newsArticleActions: '=', + noPlugins: '=' }, link: function (scope, elem) { var plugins = News.getArticleActionPlugins(); @@ -2670,9 +2671,7 @@ app.directive('newsArticleActions', function () { plugins[i](elem, scope.newsArticleActions); } - if (plugins.length === 0) { - $('#app-content .more').hide(); - } + scope.noPlugins = plugins.length === 0; } }; }); |