Merge pull request #3453 from shleeable/staging-unwanted-semicolons

unwanted semicolons
pull/3496/head
daniel 2022-05-17 23:43:23 -06:00 zatwierdzone przez GitHub
commit 7d26f4ef2e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
9 zmienionych plików z 13 dodań i 13 usunięć

Wyświetl plik

@ -208,7 +208,7 @@ class SettingsController extends Controller
$opencollective = Str::startsWith($opencollective, 'opencollective.com/') ? e($opencollective) : null;
if(empty($patreon) && empty($liberapay) && empty($opencollective)) {
return redirect(route('settings'))->with('error', 'An error occured. Please try again later.');;
return redirect(route('settings'))->with('error', 'An error occured. Please try again later.');
}
$res = [
@ -251,7 +251,7 @@ class SettingsController extends Controller
} else {
Redis::zrem('pf:tl:replies', $pid);
}
return redirect(route('settings'))->with('status', 'Timeline settings successfully updated!');;
return redirect(route('settings'))->with('status', 'Timeline settings successfully updated!');
}
public function mediaSettings(Request $request)

Wyświetl plik

@ -22,7 +22,7 @@ class HashidService {
while($id) {
$id = ($id - ($r = $id % $base)) / $base;
$shortcode = $cmap[$r] . $shortcode;
};
}
return $shortcode;
});
}

Wyświetl plik

@ -1503,7 +1503,7 @@ export default {
},
locationSearch(input) {
if (input.length < 1) { return []; };
if (input.length < 1) { return []; }
let results = [];
return axios.get('/api/compose/v0/search/location', {
params: {
@ -1650,7 +1650,7 @@ export default {
},
tagSearch(input) {
if (input.length < 1) { return []; };
if (input.length < 1) { return []; }
let self = this;
let results = [];
return axios.get('/api/compose/v0/search/tag', {

Wyświetl plik

@ -305,7 +305,7 @@ export default {
},
composeSearch(input) {
if (input.length < 1) { return []; };
if (input.length < 1) { return []; }
let self = this;
let results = [];
return axios.post('/api/direct/lookup', {

Wyświetl plik

@ -880,7 +880,7 @@ var UsersChart = (function() {
$chart.data('chart', usersChart);
};
}
// Events

Wyświetl plik

@ -21,8 +21,8 @@ return [
'blockingAccounts' => 'Blokování účtů',
'safetyTips' => 'Tipy pro bezpečnost',
'reportSomething' => 'Nahlašování',
'dataPolicy' => 'Politika dat'
'dataPolicy' => 'Politika dat',
'taggingPeople' => 'Označování lidí'
];
]

Wyświetl plik

@ -261,7 +261,7 @@
}
if($(this).hasClass('row-check-all')) {
return;
};
}
if(el.checked == true) {
$(this).parents().eq(2).addClass('user-row-active');
$('.bulk-actions').removeClass('d-none');

Wyświetl plik

@ -68,7 +68,7 @@
swal.stopLoading();
swal.close();
return;
};
}
let msg = 'The URL you have entered is not valid, please try again.'
try {
let validator = new URL(val);
@ -77,7 +77,7 @@
swal.close();
swal('Invalid URL', msg, 'error');
return;
};
}
axios.post(window.location.href, {
domain: validator.href
}).then(res => {

Wyświetl plik

@ -82,7 +82,7 @@ $(document).ready(function() {
})
}
});
};
}
});
});
});