diff --git a/client/simple/package-lock.json b/client/simple/package-lock.json index c3f949266..05950e388 100644 --- a/client/simple/package-lock.json +++ b/client/simple/package-lock.json @@ -30,6 +30,7 @@ "stylelint-config-standard-less": "^3.0.1", "stylelint-prettier": "^5.0.3", "svgo": "^3.3.2", + "swiped-events": "^1.2.0", "vite": "^6.2.3", "vite-plugin-static-copy": "^2.3.0", "vite-plugin-stylelint": "^6.0.0", @@ -6486,6 +6487,13 @@ "dev": true, "license": "CC0-1.0" }, + "node_modules/swiped-events": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/swiped-events/-/swiped-events-1.2.0.tgz", + "integrity": "sha512-KRu67z1hb4sPxMdFIF2kaufYHTcWOb8NVLbIl2g5dPWZkEQ6D3wfSIVJ7iXbicTt9cO3e0vARqgx9fITtTZxQw==", + "dev": true, + "license": "MIT" + }, "node_modules/table": { "version": "6.9.0", "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", diff --git a/client/simple/package.json b/client/simple/package.json index cb2fd1cab..fb756497a 100644 --- a/client/simple/package.json +++ b/client/simple/package.json @@ -28,6 +28,7 @@ "stylelint-config-standard-less": "^3.0.1", "stylelint-prettier": "^5.0.3", "svgo": "^3.3.2", + "swiped-events": "^1.2.0", "vite": "^6.2.3", "vite-plugin-static-copy": "^2.3.0", "vite-plugin-stylelint": "^6.0.0", diff --git a/client/simple/src/js/main/results.js b/client/simple/src/js/main/results.js index cc7c7efcd..bdd76a3a6 100644 --- a/client/simple/src/js/main/results.js +++ b/client/simple/src/js/main/results.js @@ -1,4 +1,7 @@ /* SPDX-License-Identifier: AGPL-3.0-or-later */ + +import "../../../node_modules/swiped-events/src/swiped-events.js"; + (function (w, d, searxng) { 'use strict';