diff options
author | Cheng-Han, Wu | 2016-06-17 15:52:11 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-06-17 15:52:11 +0800 |
commit | fb87de74a5773d39bb999867c7f91b48a2d88a0e (patch) | |
tree | ee4a99142d701bb3ead46ef6d2ef19416c3800b5 | |
parent | 8c9d4ea55542fa98d5e49dd4eda351662dcbcac5 (diff) |
Update to make cursortag default as hover mode to prevent tag overlay other lines
-rw-r--r-- | public/js/index.js | 3 |
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') |