ros.grant.common 2.1.51 → 2.1.52

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.
@@ -41,8 +41,7 @@ function customTooltips() {
41
41
  const no = 'N';
42
42
  const active = 'active';
43
43
 
44
- init();
45
- function init() {
44
+ (function() {
46
45
  let items = $(customLabelSelector);
47
46
 
48
47
  items.each((index, element) => {
@@ -56,7 +55,7 @@ function customTooltips() {
56
55
  const v = localStorage.getItem(getLocalStorageKey(tooltipText, identifier));
57
56
  if (v === yes) {
58
57
  trigger.addClass(active);
59
- trigger.find(textSelector).text(minimizeTooltip);
58
+ trigger.find(textSelector).text(expandHint);
60
59
  tooltipBlock.show();
61
60
  }
62
61
  if (v === no) {
@@ -66,7 +65,7 @@ function customTooltips() {
66
65
  }
67
66
  }
68
67
  });
69
- }
68
+ })();
70
69
 
71
70
  $(tooltipTriggerSelector).click(function (e) {
72
71
  let item = $(e.currentTarget);
@@ -80,7 +79,7 @@ function customTooltips() {
80
79
  tooltipBlock.slideUp(300);
81
80
  item.removeClass(active);
82
81
 
83
- item.find(textSelector).text(expandHint);
82
+ item.find(textSelector).text(minimizeTooltip);
84
83
 
85
84
  updateLocalStorage(text, no);
86
85
  }
@@ -88,7 +87,7 @@ function customTooltips() {
88
87
  tooltipBlock.slideDown(300);
89
88
  item.addClass(active);
90
89
 
91
- item.find(textSelector).text(minimizeTooltip);
90
+ item.find(textSelector).text(expandHint);
92
91
  updateLocalStorage(text, yes);
93
92
  }
94
93
  });
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.1.51",
2
+ "version": "2.1.52",
3
3
  "name": "ros.grant.common",
4
4
  "private": false,
5
5
  "scripts": {