aprog 1.5.6 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/aprog.js +3 -2
package/package.json
CHANGED
package/src/aprog.js
CHANGED
|
@@ -1335,6 +1335,7 @@ export const checkArrays = (arr1, arr2, checkAll = false) => {
|
|
|
1335
1335
|
|
|
1336
1336
|
const customTitle = (text) => {
|
|
1337
1337
|
const title = div({
|
|
1338
|
+
id: "tooltip",
|
|
1338
1339
|
style: {
|
|
1339
1340
|
position: "absolute",
|
|
1340
1341
|
background: "rgba(0, 0, 0, 0.8)",
|
|
@@ -1343,13 +1344,13 @@ const customTitle = (text) => {
|
|
|
1343
1344
|
borderRadius: "5px",
|
|
1344
1345
|
fontSize: "14px",
|
|
1345
1346
|
whiteSpace: "nowrap",
|
|
1346
|
-
display: "
|
|
1347
|
+
display: "block",
|
|
1347
1348
|
pointerEvents: "none",
|
|
1348
1349
|
zIndex: 1000,
|
|
1349
1350
|
},
|
|
1350
1351
|
value: text
|
|
1351
1352
|
});
|
|
1352
|
-
document.body.
|
|
1353
|
+
document.body.append(title);
|
|
1353
1354
|
|
|
1354
1355
|
return title;
|
|
1355
1356
|
};
|