agentgui 1.0.875 → 1.0.876
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
CHANGED
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
applyDiff(scroll, vnodes);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
function togglePopup(e) { e.stopPropagation(); if (!popup.classList.contains('open')) { isRefreshing = false; refresh(); } popup.classList.toggle('open'); }
|
|
145
|
+
function togglePopup(e) { if (e) e.stopPropagation(); if (!popup.classList.contains('open')) { isRefreshing = false; refresh(); } popup.classList.toggle('open'); }
|
|
146
146
|
function closePopup() { popup.classList.remove('open'); }
|
|
147
147
|
function refresh() { fetchTools(); }
|
|
148
148
|
|