jsgantt-improved
Advanced tools
Comparing version 2.7.2 to 2.7.3
@@ -621,5 +621,3 @@ "use strict"; | ||
var _a = this.createTaskInfo(this.vTaskList[i], this.vTooltipTemplate), component = _a.component, callback = _a.callback; | ||
var el = document.createElement('div'); | ||
el.appendChild(component); | ||
vTmpDiv2.setAttribute('data-tooltip', el.innerHTML); | ||
vTmpDiv2.appendChild(component); | ||
events_1.addTooltipListeners(this, this.vTaskList[i].getTaskDiv(), vTmpDiv2, callback); | ||
@@ -631,5 +629,3 @@ } | ||
var _b = this.createTaskInfo(this.vTaskList[i], this.vTooltipTemplate), component = _b.component, callback = _b.callback; | ||
var el = document.createElement('div'); | ||
el.appendChild(component); | ||
vTmpDiv2.setAttribute('data-tooltip', el.innerHTML); | ||
vTmpDiv2.appendChild(component); | ||
events_1.addTooltipListeners(this, this.vTaskList[i].getPlanTaskDiv(), vTmpDiv2, callback); | ||
@@ -636,0 +632,0 @@ } |
@@ -138,5 +138,5 @@ "use strict"; | ||
clearTimeout(pGanttChartObj.vTool.delayTimeout); | ||
var newHTML = pContents.getAttribute('data-tooltip'); | ||
var newHTML = pContents.innerHTML; | ||
if (pGanttChartObj.vTool.vToolCont.getAttribute("content") !== newHTML) { | ||
pGanttChartObj.vTool.vToolCont.innerHTML = pContents.getAttribute('data-tooltip'); | ||
pGanttChartObj.vTool.vToolCont.innerHTML = pContents.innerHTML; | ||
// as we are allowing arbitrary HTML we should remove any tag ids to prevent duplication | ||
@@ -143,0 +143,0 @@ general_utils_1.stripIds(pGanttChartObj.vTool.vToolCont); |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.7.2", | ||
"version": "2.7.3", | ||
"description": "jsgantt-improved", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
4810812
113220