X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/1f6994b62ce5d3989bc9997027cc6704e170013b..refs/pull/479/head:/resources/assets/js/controllers.js diff --git a/resources/assets/js/controllers.js b/resources/assets/js/controllers.js index 7f2e6cdb4..32ff76fa1 100644 --- a/resources/assets/js/controllers.js +++ b/resources/assets/js/controllers.js @@ -144,17 +144,4 @@ module.exports = function (ngApp, events) { }; }]); - - // Controller used to fetch all comments for a page - ngApp.controller('CommentListController', ['$scope', '$http', '$timeout', '$location', function ($scope, $http, $timeout, $location) { - - function focusLinkedComment(linkedCommentId) { - let comment = angular.element('#' + linkedCommentId); - if (comment.length === 0) { - return; - } - - window.setupPageShow.goToText(linkedCommentId); - } - }]); };