ep_cursortrace
Advanced tools
Comparing version 2.0.11 to 2.0.12
{ | ||
"name": "ep_cursortrace", | ||
"description": "Show cursor/caret movements of other users in real time", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"author": "RedHog (Egil Moeller) <egil.moller@freecode.no>", | ||
@@ -6,0 +6,0 @@ "repository":"git@github.com:redhog/ep_cursortrace.git", |
@@ -249,5 +249,8 @@ var initiated = false; | ||
var $inner = $('iframe[name="ace_outer"]').contents().find("#outerdocbody"); | ||
if(top < 30) top = 0; // top line needs to be left visible | ||
var newY = top + "px"; | ||
$inner.scrollTop(newY); // works in Chrome not FF | ||
$inner.animate({scrollTop: newY}); | ||
var $outerdoc = $('iframe[name="ace_outer"]').contents().find("#outerdocbody"); | ||
var $outerdocHTML = $('iframe[name="ace_outer"]').contents().find("#outerdocbody").parent(); | ||
$outerdoc.animate({scrollTop: newY}); | ||
if(browser.firefox) $outerdocHTML.animate({scrollTop: newY}); // needed for FF | ||
@@ -254,0 +257,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
19485
469