Export Swipe left and right Exporting the swipe_left and the swipe_right functions

99f47de88b7f86b14ed880add5bb766a4db70ed1

Samueras <Samueras@jackoedv.de>

Signed
1 files changed, +2 -2Showing whitespace changes
public/script.js+2 -2
@@ -9105,7 +9105,7 @@ function formatSwipeCounter(current, total) {
9105 * @param {string} [params.source] The source of the swipe event.9105 * @param {string} [params.source] The source of the swipe event.
9106 * @param {boolean} [params.repeated] Is the swipe event repeated.9106 * @param {boolean} [params.repeated] Is the swipe event repeated.
9107 */9107 */
9108function swipe_left(_event, { source, repeated } = {}) {9108export function swipe_left(_event, { source, repeated } = {}) {
9109 if (chat.length - 1 === Number(this_edit_mes_id)) {9109 if (chat.length - 1 === Number(this_edit_mes_id)) {
9110 closeMessageEditor();9110 closeMessageEditor();
9111 }9111 }
@@ -9253,7 +9253,7 @@ function swipe_left(_event, { source, repeated } = {}) {
9253 * @param {string} [params.source] The source of the swipe event.9253 * @param {string} [params.source] The source of the swipe event.
9254 * @param {boolean} [params.repeated] Is the swipe event repeated.9254 * @param {boolean} [params.repeated] Is the swipe event repeated.
9255 */9255 */
9256function swipe_right(_event, { source, repeated } = {}) {9256export function swipe_right(_event, { source, repeated } = {}) {
9257 if (chat.length - 1 === Number(this_edit_mes_id)) {9257 if (chat.length - 1 === Number(this_edit_mes_id)) {
9258 closeMessageEditor();9258 closeMessageEditor();
9259 }9259 }