@marianmeres/stuic 2.21.0 → 2.21.1
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.
|
@@ -203,19 +203,10 @@ export function popover(anchorEl, fn) {
|
|
|
203
203
|
}
|
|
204
204
|
function onClickTrigger(e) {
|
|
205
205
|
e.stopPropagation();
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
show();
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
// Normal click toggle behavior
|
|
214
|
-
if (isVisible)
|
|
215
|
-
hide();
|
|
216
|
-
else
|
|
217
|
-
show();
|
|
218
|
-
}
|
|
206
|
+
if (isVisible)
|
|
207
|
+
hide();
|
|
208
|
+
else
|
|
209
|
+
show();
|
|
219
210
|
}
|
|
220
211
|
// Render content into popover element
|
|
221
212
|
function renderContent() {
|