From fb87de74a5773d39bb999867c7f91b48a2d88a0e Mon Sep 17 00:00:00 2001 From: "Cheng-Han, Wu" Date: Fri, 17 Jun 2016 15:52:11 +0800 Subject: [PATCH] Update to make cursortag default as hover mode to prevent tag overlay other lines --- public/js/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/index.js b/public/js/index.js index 791f533..e2707c0 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2340,7 +2340,8 @@ function buildCursor(user) { //cursortag[0].style.background = color; cursortag[0].style.color = user.color; - cursor.attr('data-mode', 'state'); + cursor.attr('data-mode', 'hover'); + cursortag.delay(2000).fadeOut("fast"); cursor.hover( function () { if (cursor.attr('data-mode') == 'hover')