Code style

This commit is contained in:
simon 2020-02-22 09:02:59 -05:00
parent a8505cb8c1
commit 1ac8b40e3d
3 changed files with 4 additions and 8 deletions

View File

@ -95,7 +95,6 @@ typedef int (*read_func_t)(struct vfile *, void *buf, size_t size);
typedef void (*close_func_t)(struct vfile *);
typedef struct vfile {
union {
int fd;
struct archive *arc;

View File

@ -102,6 +102,7 @@ body {
border-bottom: none;
border-left: none;
border-right: none;
padding: .25rem 0.5rem;
}
.list-group-item:first-child {
@ -199,7 +200,7 @@ body {
max-width: 100%;
max-height: 175px;
margin: 0 auto 0;
padding: 3px 3px 0 3px;
padding: 3px 3px 0;
width: auto;
height: auto;
}
@ -208,7 +209,7 @@ body {
display: block;
max-width: 64px;
max-height: 64px;
margin: 0 auto 0;
margin: 0 auto;
width: auto;
height: auto;
}
@ -391,10 +392,6 @@ option {
margin-top: 1em;
}
.list-group-item {
padding: .25rem 0.5rem;
}
.wrapper-sm {
min-width: 64px;
}

View File

@ -183,7 +183,7 @@ function infoButtonCb(hit) {
"bitrate", "artist", "album", "album_artist", "genre", "title", "font_name", "tag"
]);
Object.keys(doc)
.filter(key => key.startsWith("_keyword.") || key.startsWith("_text.") || displayFields.has(key) || key.startsWith("exif_"))
.filter(key => key.startsWith("_keyword.") || key.startsWith("_text.") || displayFields.has(key) || key.startsWith("exif_"))
.forEach(key => {
tbody.append($("<tr>")
.append($("<td>").text(key))