Fix indentation

This commit is contained in:
Yukai Huang 2017-04-11 11:37:41 +08:00
parent c6c11c54ef
commit 432f215a45

View file

@ -2499,12 +2499,12 @@ function buildCursor (user) {
cursor.attr('data-mode', 'hover') cursor.attr('data-mode', 'hover')
cursortag.delay(2000).fadeOut('fast') cursortag.delay(2000).fadeOut('fast')
cursor.hover( cursor.hover(
function () { function () {
if (cursor.attr('data-mode') === 'hover') { cursortag.stop(true).fadeIn('fast') } if (cursor.attr('data-mode') === 'hover') { cursortag.stop(true).fadeIn('fast') }
}, },
function () { function () {
if (cursor.attr('data-mode') === 'hover') { cursortag.stop(true).fadeOut('fast') } if (cursor.attr('data-mode') === 'hover') { cursortag.stop(true).fadeOut('fast') }
}) })
var hideCursorTagDelay = 2000 var hideCursorTagDelay = 2000
var hideCursorTagTimer = null var hideCursorTagTimer = null