Skip to content

Commit fb87de7

Browse files
committed
Update to make cursortag default as hover mode to prevent tag overlay other lines
1 parent 8c9d4ea commit fb87de7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

public/js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2340,7 +2340,8 @@ function buildCursor(user) {
23402340
//cursortag[0].style.background = color;
23412341
cursortag[0].style.color = user.color;
23422342

2343-
cursor.attr('data-mode', 'state');
2343+
cursor.attr('data-mode', 'hover');
2344+
cursortag.delay(2000).fadeOut("fast");
23442345
cursor.hover(
23452346
function () {
23462347
if (cursor.attr('data-mode') == 'hover')

0 commit comments

Comments
 (0)