pinokiod 0.1.33 → 0.1.35
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 +1 -1
- package/server/views/browser.ejs +5 -1
package/package.json
CHANGED
package/server/views/browser.ejs
CHANGED
|
@@ -334,9 +334,11 @@ body.dark #new-tab {
|
|
|
334
334
|
</a>
|
|
335
335
|
<%})%>
|
|
336
336
|
</div>
|
|
337
|
+
<!--
|
|
337
338
|
<div id='new-tab' class='btn header-item'>
|
|
338
339
|
<i class="fa-solid fa-plus"></i>
|
|
339
340
|
</div>
|
|
341
|
+
-->
|
|
340
342
|
<div class='flexible'></div>
|
|
341
343
|
<div class='grid-btns'>
|
|
342
344
|
<a class='btn2' href="/?mode=explore" id='explore'><div><i class="fa-solid fa-globe"></i></div><div>Discover</div></a>
|
|
@@ -490,6 +492,7 @@ document.querySelector("#reload").addEventListener("click", (e) => {
|
|
|
490
492
|
renderSelection(null, true)
|
|
491
493
|
})
|
|
492
494
|
|
|
495
|
+
/*
|
|
493
496
|
document.querySelector("#new-tab").addEventListener("click", async (e) => {
|
|
494
497
|
const url = prompt("url")
|
|
495
498
|
|
|
@@ -498,6 +501,7 @@ document.querySelector("#new-tab").addEventListener("click", async (e) => {
|
|
|
498
501
|
await addTab(url)
|
|
499
502
|
}
|
|
500
503
|
})
|
|
504
|
+
*/
|
|
501
505
|
|
|
502
506
|
const syncTabs = async () => {
|
|
503
507
|
let tabs = []
|
|
@@ -614,7 +618,7 @@ const refresh = async () => {
|
|
|
614
618
|
console.log("refresh", html)
|
|
615
619
|
document.querySelector(".menu").innerHTML = html
|
|
616
620
|
renderSelection()
|
|
617
|
-
cursorIndex =
|
|
621
|
+
cursorIndex = 1
|
|
618
622
|
renderCursor()
|
|
619
623
|
|
|
620
624
|
}
|