mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-21 07:40:45 +09:00
fix: Disable saerch submit when tile search is active
This commit is contained in:
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
2
public/mix-manifest.json
generated
2
public/mix-manifest.json
generated
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"/css/app.css": "/css/app.css?id=cdbee4d3b17bce4786a2",
|
||||
"/js/app.js": "/js/app.js?id=c15b7d6018358ee45de9"
|
||||
"/js/app.js": "/js/app.js?id=bf17db5adf00db2c59ef"
|
||||
}
|
||||
|
||||
@@ -158,6 +158,11 @@ $.when( $.ready ).then(function() {
|
||||
$('.tooltip', this).removeClass('active');
|
||||
})
|
||||
|
||||
$('.searchform > form').on('submit', function (event) {
|
||||
if ($('#search-container select[name=provider]').val() === 'tiles') {
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
$('#search-container').on('input', 'input[name=q]', function () {
|
||||
const search = this.value
|
||||
|
||||
Reference in New Issue
Block a user