From fb87de74a5773d39bb999867c7f91b48a2d88a0e Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Fri, 17 Jun 2016 15:52:11 +0800 Subject: 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(-) (limited to 'public/js/index.js') diff --git a/public/js/index.js b/public/js/index.js index 791f5333..e2707c05 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') -- cgit v1.2.3