Skip to content
This repository was archived by the owner on Jul 13, 2024. It is now read-only.

Commit d3dae1c

Browse files
committedMar 12, 2017
Merge develop into master
2 parents 024c643 + 26bc17e commit d3dae1c

34 files changed

+14576
-5321
lines changed
 

‎bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gitgraph.js",
3-
"version": "1.8.3",
3+
"version": "1.9.0",
44
"main": ["./build/gitgraph.js", "./build/gitgraph.css"],
55
"ignore": [
66
"**/.*"

‎build/gitgraph.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ==========================================================
2-
* GitGraph v1.8.3
2+
* GitGraph v1.9.0
33
* https://github.com/nicoespeon/gitgraph.js
44
* ==========================================================
55
* Copyright (c) 2017 Nicolas CARLO (@nicoespeon) ٩(^‿^)۶
@@ -26,6 +26,7 @@
2626
* @param {Boolean} [options.reverseArrow = false] - Make arrows point to ancestors if true
2727
* @param {Number} [options.initCommitOffsetX = 0] - Add custom offsetX to initial commit.
2828
* @param {Number} [options.initCommitOffsetY = 0] - Add custom offsetY to initial commit.
29+
* @param {HTMLElement} [options.tooltipContainer = document.body] - HTML Element containing tooltips in compact mode.
2930
*
3031
* @this GitGraph
3132
**/
@@ -105,9 +106,8 @@
105106
this.tooltip.className = "gitgraph-tooltip";
106107
this.tooltip.style.position = "fixed";
107108
this.tooltip.style.display = "none";
108-
109-
// Add tooltip div into body
110-
document.body.appendChild(this.tooltip);
109+
var tooltipContainer = options.tooltipContainer || document.body;
110+
tooltipContainer.appendChild(this.tooltip);
111111

112112
// Navigation vars
113113
this.HEAD = null;

‎build/gitgraph.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)