Commit 2c2b1cf
committed
Fix: Update iframe selector to use 'preview-iframe' class
The 'Open in New Tab' button was not working because it was looking
for an iframe with class 'preview', but the UI revamp changed it to
'preview-iframe'. This updates the JavaScript selector to match.
- Update to in open-preview click handler
- Update to in refreshPreview function
Fixes the bug where clicking 'Open in New Tab' opened a blank page.1 parent 88a686c commit 2c2b1cf
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments