pinokiod 1.0.4 → 1.0.5

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.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -507,7 +507,8 @@ const renderSelection = (e, force) => {
507
507
  console.log("# 5", { src: targetFrame.src, href: target.href, target: target.target })
508
508
  // triggered with a click
509
509
  // do not reload iframe if the href and the src is the same
510
- if (targetFrame.src.includes(target.href)) {
510
+ if (targetFrame.src.includes(target.target) {
511
+ // if (targetFrame.src.includes(target.href)) {
511
512
  // if (targetFrame.src === target.href) {
512
513
  e.preventDefault()
513
514
  e.stopPropagation()