Show WidthxHeight instead of note

This commit is contained in:
supositware 2021-06-12 18:32:09 +02:00
parent 0a83662ef2
commit 90b6531d76
2 changed files with 8 additions and 11 deletions

View file

@ -105,7 +105,7 @@ router.get('/format', function (req, res ,next) {
return;
i++;
formats.push({ext: format.ext, id: format.format_id, note: format.format_note});
formats.push({ext: format.ext, id: format.format_id, note: `${format.width}x${format.height}`});
});
return res.send(formats);

View file

@ -51,15 +51,6 @@ Come take a look here https://git.namejeff.xyz/Supositware/jeff-downloader for a
<div class="field-body">
<div class="field is-expanded">
<div class="field has-addons">
<p class="control">
<div class="select">
<select name="format" id="format">
<option value="mp4">MP4</option>
<option value="mp3">MP3</option>
<option value="flac">FLAC</option>
</select>
</div>
</p>
<p class="control is-expanded">
<input type="text" id="url" name="url" class="downloadurl input is-rounded" placeholder="Link" onkeyup="CheckFormat()">
</p>
@ -68,8 +59,14 @@ Come take a look here https://git.namejeff.xyz/Supositware/jeff-downloader for a
</p>
</div>
</div>
<div class="select">
<select name="format" id="format">
<option value="mp4">MP4</option>
<option value="mp3">MP3</option>
<option value="flac">FLAC</option>
</select>
</div>
</div>
<div class="field has-addon">
<div class="control">