Fixing strict JS error, missing var statement, broken in follow requests.

This commit is contained in:
Samuel Clay 2022-03-28 14:50:36 -04:00
parent d0de39d9cf
commit a704f18025

View file

@ -50,7 +50,7 @@ NEWSBLUR.Views.FollowRequestsModule = Backbone.View.extend({
_.each(this.request_profiles, function(profile) {
var profile_model = new NEWSBLUR.Models.User(profile);
$profile_badge = new NEWSBLUR.Views.SocialProfileBadge({
var $profile_badge = new NEWSBLUR.Views.SocialProfileBadge({
model: profile_model,
request_approval: true
});
@ -60,4 +60,4 @@ NEWSBLUR.Views.FollowRequestsModule = Backbone.View.extend({
return $profiles;
}
});
});