mirror of
https://github.com/searxng/searxng.git
synced 2025-12-28 06:30:02 +00:00
[mod] add swipe events to the image gallery (gesture control)
Adds [1] to the searxng.min.js and horizontal swipe events to the image gallery. [1] https://www.npmjs.com/package/swiped-events Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
d9115b8d48
commit
601ffcb8a3
@@ -24,7 +24,7 @@ module.exports = function (grunt) {
|
||||
files: ['gruntfile.js', 'eslint.config.mjs', '.stylelintrc.json', 'src/**'],
|
||||
tasks: [
|
||||
'eslint',
|
||||
'stylelint',
|
||||
'stylelint',
|
||||
'copy',
|
||||
'uglify',
|
||||
'less',
|
||||
@@ -109,7 +109,8 @@ module.exports = function (grunt) {
|
||||
'js/searxng.head.min.js': ['src/js/head/*.js'],
|
||||
'js/searxng.min.js': [
|
||||
'src/js/main/*.js',
|
||||
'./node_modules/autocomplete-js/dist/autocomplete.js'
|
||||
'./node_modules/autocomplete-js/dist/autocomplete.js',
|
||||
'./node_modules/swiped-events/src/swiped-events.js'
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user