pinokiod 3.195.0 → 3.197.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.195.0",
3
+ "version": "3.197.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -2271,6 +2271,8 @@ class Server {
2271
2271
 
2272
2272
  if (meta) {
2273
2273
  items = running.concat(notRunning)
2274
+
2275
+ console.log("AGENT", req.agent)
2274
2276
  res.render("index", {
2275
2277
  list,
2276
2278
  current_host: this.kernel.peer.host,
@@ -2168,9 +2168,9 @@ document.addEventListener("DOMContentLoaded", () => {
2168
2168
  setTabTooltips();
2169
2169
  initTippy();
2170
2170
 
2171
- if (window !== window.top) {
2172
- document.body.removeAttribute("data-agent")
2173
- }
2171
+ // if (window !== window.top) {
2172
+ // document.body.removeAttribute("data-agent")
2173
+ // }
2174
2174
 
2175
2175
  // Listen for window resize
2176
2176
  window.addEventListener('resize', updateAllTooltips);
@@ -475,6 +475,8 @@ document.addEventListener("DOMContentLoaded", () => {
475
475
  const inspectorButton = document.querySelector('#inspector');
476
476
  const isDesktop = agent === 'electron';
477
477
 
478
+ console.log({ agent, isDesktop })
479
+
478
480
  if (inspectorButton && !isDesktop) {
479
481
  const message = 'The 1-click inspect feature is only available inside the Pinokio desktop app.';
480
482
 
@@ -2702,9 +2702,11 @@ body.dark .mode-selector .btn2.selected {
2702
2702
  top: 26px;
2703
2703
  }
2704
2704
  }
2705
+ /*
2705
2706
  body[data-agent='electron'] {
2706
2707
  padding-top: 26px;
2707
2708
  }
2709
+ */
2708
2710
  body.dark #dropdown-portal .dropdown-content {
2709
2711
  background: rgb(34, 34, 34);
2710
2712
  }