Export Swipe left and right Exporting the swipe_left and the swipe_right functions
Signed| @@ -9105,7 +9105,7 @@ function formatSwipeCounter(current, total) { | ||
| 9105 | 9105 | * @param {string} [params.source] The source of the swipe event. |
| 9106 | 9106 | * @param {boolean} [params.repeated] Is the swipe event repeated. |
| 9107 | 9107 | */ |
| 9108 | 9108 | export function swipe_left(_event, { source, repeated } = {}) { |
| 9109 | 9109 | if (chat.length - 1 === Number(this_edit_mes_id)) { |
| 9110 | 9110 | closeMessageEditor(); |
| 9111 | 9111 | } |
| @@ -9253,7 +9253,7 @@ function swipe_left(_event, { source, repeated } = {}) { | ||
| 9253 | 9253 | * @param {string} [params.source] The source of the swipe event. |
| 9254 | 9254 | * @param {boolean} [params.repeated] Is the swipe event repeated. |
| 9255 | 9255 | */ |
| 9256 | 9256 | export function swipe_right(_event, { source, repeated } = {}) { |
| 9257 | 9257 | if (chat.length - 1 === Number(this_edit_mes_id)) { |
| 9258 | 9258 | closeMessageEditor(); |
| 9259 | 9259 | } |