Skip to content

Commit

Permalink
Fix bad link handling in Flash hijack (resolves #603)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanH committed Aug 24, 2024
1 parent 5620e9c commit ab45d97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
}
],
"engines": {
"node": ">= 18.20"
"node": "18.20"
},
"version": "2.5.2",
"version": "2.5.3",
"license": "GPL-3.0",
"repository": "github:Bambosh/unofficial-homestuck-collection",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/UIElements/MediaEmbed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ document.addEventListener('click', function (e) {
break
case 'link':
if (param != 'about:srcdoc') {
this.$pushURL(this.$getResourceURL(param), this.$parent.tab.key)
this.$pushURL(this.$getResourceURL(param))
} else {
this.$logger.warn("Tried to navigate page to srcdoc!")
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Vue.mixin({
const urlObject = new URL(url_str)

function _openExternal(to_) {
if (!isWebApp) {
if (!window.isWebApp) {
shell.openExternal(to_)
} else {
window.open(Resources.resolveURL(to_), '_blank').focus();
Expand Down

0 comments on commit ab45d97

Please sign in to comment.