mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Handle 'Enter' press
This commit is contained in:
@@ -125,6 +125,13 @@ $(function () {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('#url-input').keyup(function (e) {
|
||||
// 'Enter' click
|
||||
if (e.keyCode === 13) {
|
||||
$('#get-link').click();
|
||||
}
|
||||
});
|
||||
|
||||
$('#video-format, #audio-format').click(formatSwith);
|
||||
$('#best-quality, #worst-quality').click(qualitySwitch);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user