summary refs log tree commit diff
path: root/webclient/app-controller.js
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-29 11:29:26 +0000
committerKegan Dougal <kegan@matrix.org>2014-10-29 11:29:26 +0000
commited241ba032ff21fbf122dddbd23ce54d18a172d5 (patch)
treee4181d72347b1e95e15bcf58ef70a773f699cec2 /webclient/app-controller.js
parentFix SYWEB-128 : Auto-scroll broken if not exactly at bottom of list. (diff)
downloadsynapse-ed241ba032ff21fbf122dddbd23ce54d18a172d5.tar.xz
Implement SYWEB-58: Clicking a notification now takes you to that room.
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r--webclient/app-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js
index 7d61207554..e4b7cd286f 100644
--- a/webclient/app-controller.js
+++ b/webclient/app-controller.js
@@ -53,7 +53,7 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
      * Open a given page.
      * @param {String} url url of the page
      */
-    $scope.goToPage = function(url) {
+    $rootScope.goToPage = function(url) {
         $location.url(url);
     };