mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Changed map dragging functionality to use jQuery UI. This is an attempt to fix dragging on WINE.
This commit is contained in:
@@ -63,7 +63,9 @@ NanoStateClass.prototype.onUpdate = function (data) {
|
||||
if (!this.mapInitialised)
|
||||
{
|
||||
// Add drag functionality to the map ui
|
||||
$('#uiMap').drags({handle : '#uiMapImage'});
|
||||
$('#uiMap').draggable({
|
||||
handle : '#uiMapImage'
|
||||
});
|
||||
|
||||
$('#uiMapTooltip')
|
||||
.off('click')
|
||||
|
||||
Reference in New Issue
Block a user