pinokiod 1.1.4 → 1.1.6

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": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -408,6 +408,7 @@ body.dark .loader-popup {
408
408
  body.dark .loader-container {
409
409
  background: rgba(255,255,255,0.3);
410
410
  }
411
+ <% if (agent !== "electron") { %>
411
412
  @media only screen and (max-width: 480px) {
412
413
  .app-info {
413
414
  display: flex;
@@ -437,6 +438,7 @@ body.dark .loader-container {
437
438
  display: none;
438
439
  }
439
440
  }
441
+ <% } %>
440
442
  </style>
441
443
  </head>
442
444
  <body class='<%=theme%>'>
@@ -1031,10 +1033,12 @@ const addTab = async (url) => {
1031
1033
 
1032
1034
 
1033
1035
 
1034
- document.querySelector("#menu").addEventListener("click", async (e) => {
1035
- location.hash = ""
1036
- renderSelection()
1037
- })
1036
+ if (document.querySelector("#menu")) {
1037
+ document.querySelector("#menu").addEventListener("click", async (e) => {
1038
+ location.hash = ""
1039
+ renderSelection()
1040
+ })
1041
+ }
1038
1042
  document.querySelector(".app-info").addEventListener("click", async (e) => {
1039
1043
  e.preventDefault()
1040
1044
  e.stopPropagation()