diff --git a/webclient/app-controller.js b/webclient/app-controller.js index f210119e2..5d3fa6ddc 100644 --- a/webclient/app-controller.js +++ b/webclient/app-controller.js @@ -37,7 +37,11 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even mPresence.start(); } - $scope.go = function(url) { + /** + * Open a given page. + * @param {String} url url of the page + */ + $scope.goToPage = function(url) { $location.url(url); }; diff --git a/webclient/index.html b/webclient/index.html index 6031036e9..86dbb65e1 100644 --- a/webclient/index.html +++ b/webclient/index.html @@ -37,7 +37,7 @@