mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Join/Leave buttons on guild detail page. Addresses #4427
This commit is contained in:
@@ -260,7 +260,9 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
|
||||
// reload the page. Perform manually.
|
||||
$rootScope.hardRedirect = function(url){
|
||||
window.location.href = url;
|
||||
window.location.reload(false);
|
||||
setTimeout(function() {
|
||||
window.location.reload(false);
|
||||
});
|
||||
}
|
||||
|
||||
// Universal method for sending HTTP methods
|
||||
|
||||
Reference in New Issue
Block a user