aprog 1.5.6 → 1.5.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/aprog.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aprog",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "Допоміжна бібліотека js",
5
5
  "main": "index.js",
6
6
  "scripts": {
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)",
@@ -1349,7 +1350,7 @@ const customTitle = (text) => {
1349
1350
  },
1350
1351
  value: text
1351
1352
  });
1352
- document.body.appendChild(title);
1353
+ document.body.append(title);
1353
1354
 
1354
1355
  return title;
1355
1356
  };