1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-09-09 18:16:22 -07:00

refactor: replace template strings with regular string literals

Template literals are useful when you need:  1. [Interpolated strings](https://en.wikipedia.org/wiki/String_interpolation).
This commit is contained in:
deepsource-autofix[bot] 2023-05-14 07:10:46 +00:00 committed by GitHub
parent 1603a2eb7e
commit 8860f3dbec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View file

@ -39,7 +39,7 @@ function setupManagementEvents() {
const $post = $(el.parentElement);
const isLocked = isThreadLocked($post);
if(!dropdownHasItem(el, "Staff Actions")) {
$el.append(`<option disabled="disabled">Staff Actions</option>`);
$el.append('<option disabled="disabled">Staff Actions</option>');
}
if($post.hasClass("op-post")) {
if(isLocked) {