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

View file

@ -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')