En la imagen de abajo está mi contenedor ordenable y la imagen individual se puede arrastrar y soltar para ordenar. Pero los enlaces de acción (iconos) en el cuadro no funcionan en el navegador de Android debido a Js. Cuando elimino JS ordenable, los enlaces funcionan bien. ¿Cómo puedo hacer que ambos funcionen juntos?
J clasificables
$("#sortable").sortable({ cursor: "move", start: function (event, ui) { ui.item.startPos = ui.item.index(); }, stop: function (event, ui) { var id = ui.item.attr("id"); var PropID = $("#PropID").html(); var obj = { PropID: PropID, ID: id, Pos1: ui.item.startPos ? ui.item.startPos : 0, Pos2: ui.item.index() ? ui.item.index() : 0 } try { $.ajax({ type: "POST", url: "/members/pm-add-photos.aspx/MovePhoto", data: JSON.stringify(obj), contentType: "application/json; charset=utf-8", dataType: "json", success: function (msg) { var result = msg.d; if (result.toLowerCase().indexOf('error') > -1) { triggertoast("", "We're sorry, there seems to have been an error.", "error"); } }, error: function (response) { console.log(response); }, }); } catch (err) { triggertoast("", "We're sorry, there seems to have been an error.", "error"); } } }); $("#sortable").disableSelection();