ep_cursortrace
Advanced tools
Comparing version 3.0.3 to 3.0.4
{ | ||
"name": "ep_cursortrace", | ||
"description": "Show cursor/caret movements of other users in real time", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"author": "RedHog (Egil Moeller) <egil.moller@freecode.no>", | ||
@@ -6,0 +6,0 @@ "repository":"git@github.com:redhog/ep_cursortrace.git", |
@@ -8,3 +8,3 @@ var initiated = false; | ||
// Set the title | ||
$('body').on('mouseover', '#otheruserstable > tbody > tr > td > div', function(){ | ||
$('body').on('mouseover', '#otheruserstable > tbody > tr', function(){ | ||
$(this).css("cursor", "pointer"); | ||
@@ -14,11 +14,11 @@ $(this).attr("title", "Follow this author"); | ||
// Watch / follow a user | ||
$('body').on('click', '#otheruserstable > tbody > tr > td > div', function(){ | ||
$('body').on('click', '#otheruserstable > tbody > tr', function(){ | ||
// already watching so stop watching | ||
if($(this).hasClass("buttonicon-clearauthorship")){ | ||
$(this).removeClass("buttonicon buttonicon-clearauthorship"); | ||
$(this).find("td > div").removeClass("buttonicon buttonicon-clearauthorship"); | ||
isFollowing = false; | ||
}else{ | ||
isFollowing = $(this).parent().parent().data("authorid"); | ||
$(this).text("W"); | ||
$(this).css({"font-size":"12px","color":"#666","padding-left":"3px"}); | ||
isFollowing = $(this).data("authorid"); | ||
$(this).find("td > div").text("👁"); | ||
$(this).find("td > div").css({"font-size":"12px","color":"#666","line-height":"17px","padding-left":"3px"}); | ||
} | ||
@@ -252,3 +252,2 @@ // watchUser.toggle(); | ||
// works on earlier versions of Chrome (< 61) | ||
console.log("newY", newY) | ||
$outerdoc.animate({scrollTop: newY}); | ||
@@ -255,0 +254,0 @@ // works on Firefox & later versions of Chrome (>= 61) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18754
452