Update to make cursortag default as hover mode to prevent tag overlay other lines

This commit is contained in:
Cheng-Han, Wu 2016-06-17 15:52:11 +08:00
parent 8c9d4ea555
commit fb87de74a5
1 changed files with 2 additions and 1 deletions

View File

@ -2340,7 +2340,8 @@ function buildCursor(user) {
//cursortag[0].style.background = color; //cursortag[0].style.background = color;
cursortag[0].style.color = user.color; cursortag[0].style.color = user.color;
cursor.attr('data-mode', 'state'); cursor.attr('data-mode', 'hover');
cursortag.delay(2000).fadeOut("fast");
cursor.hover( cursor.hover(
function () { function () {
if (cursor.attr('data-mode') == 'hover') if (cursor.attr('data-mode') == 'hover')