Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: lint fixes #6648

Merged
merged 1 commit into from
May 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions app/assets/v2/js/pages/bounty_details.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,10 @@ var callbacks = {
const name = (position == interested.length - 1) ?
_interested.profile.handle : _interested.profile.handle.concat(',');

if (!_interested.pending && uniqueness.indexOf(_interested.profile.handle) == -1){
if (
!_interested.pending &&
uniqueness.indexOf(_interested.profile.handle) == -1
) {
uniqueness.push(_interested.profile.handle);
started.push(profileHtml(_interested.profile.handle, name));
}
Expand All @@ -431,7 +434,7 @@ var callbacks = {
const name = (position == submitted.length - 1) ?
_submitted.fulfiller_github_username : _submitted.fulfiller_github_username.concat(',');

if (uniqueness.indexOf(_submitted.profile.handle) == -1){
if (uniqueness.indexOf(_submitted.profile.handle) == -1) {
uniqueness.push(_submitted.profile.handle);
accepted.push(profileHtml(_submitted.fulfiller_github_username, name));
}
Expand Down
3 changes: 2 additions & 1 deletion app/assets/v2/js/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ var add_interest = function(bounty_pk, data) {
if (document.interested) {
return;
}
if (typeof fbq !== 'undefined'){

if (typeof fbq !== 'undefined') {
fbq('trackCustom', 'Start Work');
}

Expand Down
4 changes: 2 additions & 2 deletions app/assets/v2/js/user_card.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$('body').on('mouseover', '[data-usercard]', function(e) {
openContributorPopOver($(this).data('usercard'), $(this));
}).on('mouseleave', '[data-usercard]', function() {
var elem = this
var elem = this;

setTimeout(function() {
if (!$('.popover-user-card:hover').length) {
Expand Down Expand Up @@ -287,7 +287,7 @@ function setupPopover(element, data) {
return renderPopOverData(data);
},
html: true
})
});

$(element).popover('show');

Expand Down