Skip to content

Commit

Permalink
client: crosshair
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed May 19, 2014
1 parent 9a9c307 commit 462d13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function giveTurn() {
waitingForTurn = false;
xp.removeClass('waiting');
xp.addClass('focused');
$('body').css('cursor', 'none');
$('body').css('cursor', 'crosshair');
if (turnInt) {
clearInterval(turnInt);
$('.turn-timer').html('');
Expand Down Expand Up @@ -151,7 +151,7 @@ $(document).mousemove(function(ev) {

var rect = xp.get(0).getBoundingClientRect();
if (inRect(rect, ev)) {
$('body').css('cursor', 'none');
$('body').css('cursor', 'crosshair');
} else {
$('body').css('cursor', 'default');
return;
Expand Down

0 comments on commit 462d13f

Please sign in to comment.