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:
parent
1603a2eb7e
commit
8860f3dbec
5 changed files with 11 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue