mirror of https://github.com/status-im/codimd.git
Update to make cursortag default as hover mode to prevent tag overlay other lines
This commit is contained in:
parent
8c9d4ea555
commit
fb87de74a5
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue