mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 12:10:34 +09:00
Fix prettier complaints
This commit is contained in:
@@ -52,7 +52,7 @@ $.when($.ready).then(() => {
|
||||
}
|
||||
}); */
|
||||
|
||||
let sortableEl = document.getElementById("sortable");
|
||||
const sortableEl = document.getElementById("sortable");
|
||||
let sortable;
|
||||
if (sortableEl !== null) {
|
||||
// eslint-disable-next-line no-undef
|
||||
@@ -173,12 +173,12 @@ $.when($.ready).then(() => {
|
||||
})
|
||||
.on("click", ".tag", (e) => {
|
||||
e.preventDefault();
|
||||
const tag = $(e.target).data('tag')
|
||||
$('#taglist .tag').removeClass('current')
|
||||
$(e.target).addClass('current')
|
||||
$('#sortable .item-container').show()
|
||||
if (tag !== 'all') {
|
||||
$('#sortable .item-container:not(.'+tag+')').hide()
|
||||
const tag = $(e.target).data("tag")
|
||||
$("#taglist .tag").removeClass("current")
|
||||
$(e.target).addClass("current")
|
||||
$("#sortable .item-container").show()
|
||||
if (tag !== "all") {
|
||||
$("#sortable .item-container:not(."+tag+")").hide()
|
||||
}
|
||||
})
|
||||
.on("click", "#add-item, #pin-item", (e) => {
|
||||
|
||||
Reference in New Issue
Block a user