You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Make placeholder cards non-draggable and prevent table-to-hand card movement
- Updated Dragula invalid function to prevent dragging placeholder text elements
- Added checks for 'Waiting for', 'You can play', and 'should play' text patterns
- Enhanced accepts function to block table-to-hand card movement
- Made placeholder text elements non-draggable with CSS properties
longPollFallbackMs: location.host.startsWith("localhost") ? undefined : 2500,// Clients can switch to longpoll and get stuck during development when the server goes up and down
106
-
params: {_csrf_token: csrfToken},hooks: Hooks
123
+
params: {_csrf_token: csrfToken},hooks: Hooks
107
124
})
108
125
109
126
// Show progress bar on live navigation and form submits
<pclass="text-center">Waiting for <%=@player.name %> to play their card</p>
26
+
<pclass="text-center"draggable="false"style="user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; cursor: default;">Waiting for <%=@player.name %> to play their card</p>
0 commit comments