[Pkg-javascript-commits] [d3-tip.js] 226/277: ensure tooltip is out of document flow on initialization. Fixes #45

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

bhuvan-guest pushed a commit to branch master
in repository d3-tip.js.

commit 8a8fd0c8214bb2b768e65367aaf5773ee1566fe3
Author: Justin Palmer <justin at github.com>
Date:   Mon Feb 24 08:09:11 2014 -0800

    ensure tooltip is out of document flow on initialization.  Fixes #45
---
 index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/index.js b/index.js
index ad3b28f..c60ca6e 100644
--- a/index.js
+++ b/index.js
@@ -212,6 +212,7 @@ d3.tip = function() {
     var node = d3.select(document.createElement('div'))
     node.style({
       position: 'absolute',
+      top: 0,
       opacity: 0,
       'pointer-events': 'none',
       'box-sizing': 'border-box'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git



More information about the Pkg-javascript-commits mailing list