pinokiod 3.104.0 → 3.105.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.104.0",
3
+ "version": "3.105.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -4693,6 +4693,7 @@ body.dark {
4693
4693
  }
4694
4694
 
4695
4695
  let target = explicitTarget
4696
+ let preselected = null
4696
4697
 
4697
4698
  if (!target && eventParam) {
4698
4699
  target = eventParam.target?.closest(".frame-link") || null
@@ -4709,6 +4710,13 @@ body.dark {
4709
4710
  }
4710
4711
  }
4711
4712
 
4713
+ if (!target && !skipPersistedSelection) {
4714
+ preselected = document.querySelector('#devtab.frame-link.selected') || document.querySelector('.frame-link.selected')
4715
+ if (preselected) {
4716
+ target = preselected
4717
+ }
4718
+ }
4719
+
4712
4720
  if (!target && persistedSelectionRaw) {
4713
4721
  target = restorePersistedFrameLink()
4714
4722
  if (!target && persistedSelectionRaw) {