Skip to content

Commit

Permalink
Merge pull request #874 from jacob-js/disable-drag-drop
Browse files Browse the repository at this point in the history
[FIX] disable drag and drop of messages on mobile devices
  • Loading branch information
kroky authored Jan 30, 2024
2 parents cc20b7e + b07672a commit 7ec960b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ function listControlsMenu() {

// Sortablejs
const tableBody = document.querySelector('.message_table_body');
if(tableBody) {
if(tableBody && !hm_mobile()) {
const allFoldersClassNames = [];
let targetFolder;
let movingElement;
Expand Down

0 comments on commit 7ec960b

Please sign in to comment.