summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-06-17 15:52:11 +0800
committerCheng-Han, Wu2016-06-17 15:52:11 +0800
commitfb87de74a5773d39bb999867c7f91b48a2d88a0e (patch)
treeee4a99142d701bb3ead46ef6d2ef19416c3800b5
parent8c9d4ea55542fa98d5e49dd4eda351662dcbcac5 (diff)
Update to make cursortag default as hover mode to prevent tag overlay other lines
-rw-r--r--public/js/index.js3
1 files changed, 2 insertions, 1 deletions
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')