ep_author_hover
Advanced tools
Comparing version 0.0.17 to 0.1.0
@@ -9,3 +9,3 @@ { | ||
"description": "Adds author names to span titles (shows on hover), works as authors change their name. Hover includes author color and fast switching between author spans. Hat tip to Martyn York for the initial work on this.", | ||
"version": "0.0.17", | ||
"version": "0.1.0", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
@@ -58,3 +58,3 @@ var _ = require('ep_etherpad-lite/static/js/underscore'); | ||
showAuthor.show(span); | ||
}, 1000); | ||
}, 2000); | ||
@@ -141,3 +141,4 @@ }, | ||
authorName = authorName.toString().replace(lt, "<").replace(gt, ">").replace(ap, "'").replace(ic, """); | ||
var $indicator = $("<div class='authortooltip' style='opacity:.8;font-size:14px;padding:5px 5px 0px 5px;position:absolute;left:"+left+"px;top:"+top +"px;background-color:"+authorColor+"' title="+authorName+">"+authorName+"</div>"); | ||
var $indicator = $("<div class='authortooltip' style='opacity:.8;font-size:14px;padding:5px 5px 0px 5px;position:absolute;left:"+left+"px;top:"+top +"px;background-color:"+authorColor+"' title="+authorName+"></div>"); | ||
$indicator.text(authorName) | ||
$(outBody).append($indicator); | ||
@@ -144,0 +145,0 @@ |
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
8205
174