From 2c032ddfe0e5a3861f20c4f85d4e533f121d3c73 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sat, 1 Dec 2012 23:29:20 +0000 Subject: [PATCH] make cursor a pointer to show clickable circle --- Netdisco/views/ajax/device/netmap.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Netdisco/views/ajax/device/netmap.tt b/Netdisco/views/ajax/device/netmap.tt index 96ef9a07..7dab3688 100644 --- a/Netdisco/views/ajax/device/netmap.tt +++ b/Netdisco/views/ajax/device/netmap.tt @@ -67,6 +67,7 @@ function circleClick(d) { function circleOver(d) { $('.link').hide(); $('path.' + to_class(d.name)).show(); + $(this).css('cursor', 'pointer'); $.each(neighbors_data[d.name], function(idx, target) { if (! (target in loc)) { return true } @@ -81,6 +82,7 @@ function circleOut(d) { $('circle.' + to_class(target)).css('fill', '#fff'); }); + $(this).css('cursor', 'auto'); $('path.' + to_class(d.name)).hide(); $('.link').show(); }