pinokiod 1.0.34 → 1.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -872,7 +872,7 @@ document.querySelector("#new-tab").addEventListener("click", async (e) => {
872
872
  }
873
873
  })
874
874
  document.querySelector("#clone-tab").addEventListener("click", async (e) => {
875
- const url = e.target.getAttribute("data-href")
875
+ const url = document.querySelector("#clone-tab").getAttribute("data-href")
876
876
  if (url && url.trim().length > 0) {
877
877
  console.log("url", url)
878
878
  const { tab, frame } = await addTab(url)