mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 00:34:06 -04:00
Rename go() into goToPage() which is available from everywhere thanks to the inheritance of $scope
This commit is contained in:
parent
e40d829363
commit
6691ca6f8d
2 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue