From 601ffcb8a32a6e2f252cebffa6a7e6f024c8e943 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 16 Jan 2025 17:10:12 +0100 Subject: [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 --- searx/static/themes/simple/gruntfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'searx/static/themes/simple/gruntfile.js') diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js index a40e48120..d812e559d 100644 --- a/searx/static/themes/simple/gruntfile.js +++ b/searx/static/themes/simple/gruntfile.js @@ -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' ] } } -- cgit v1.2.3