mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: removes unnecessary jquery selector (#14945)
This commit is contained in:
@@ -16,7 +16,7 @@ export function currentThemeKey() {
|
||||
|
||||
export function currentThemeIds() {
|
||||
const themeIds = [];
|
||||
const elem = $(keySelector)[0];
|
||||
const elem = document.querySelector(keySelector);
|
||||
if (elem) {
|
||||
elem.content.split(",").forEach((num) => {
|
||||
num = parseInt(num, 10);
|
||||
|
||||
Reference in New Issue
Block a user