mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Removed PathJS dependency; refactored routing
This commit is contained in:
@ -14,9 +14,9 @@ App.Presenters.UserBrowsingSettingsPresenter = function(
|
||||
var user;
|
||||
var privileges = {};
|
||||
|
||||
function init(args, loaded) {
|
||||
user = args.user;
|
||||
target = args.target;
|
||||
function init(params, loaded) {
|
||||
user = params.user;
|
||||
target = params.target;
|
||||
|
||||
privileges.canChangeBrowsingSettings = auth.isLoggedIn(user.name) && user.name === auth.getCurrentUser().name;
|
||||
|
||||
|
Reference in New Issue
Block a user