upstream_fixes_28112023 #15

Merged
medvedych merged 6 commits from upstream_fixes_28112023 into master 2023-11-29 02:10:13 +03:00
Showing only changes of commit 1cddb7a766 - Show all commits

View file

@ -447,11 +447,16 @@ function handleLink(link) {
handleTMeLink(link, tMePrefix); handleTMeLink(link, tMePrefix);
} else if (link.indexOf(tMePrefixHttp) === 0) { } else if (link.indexOf(tMePrefixHttp) === 0) {
handleTMeLink(link, tMePrefixHttp); handleTMeLink(link, tMePrefixHttp);
} else {
Debug.log("Trying to open URL externally: " + link)
if (link.indexOf("://") === -1) {
Qt.openUrlExternally("https://" + link)
} else { } else {
Qt.openUrlExternally(link); Qt.openUrlExternally(link);
} }
} }
} }
}
function getVideoHeight(videoWidth, videoData) { function getVideoHeight(videoWidth, videoData) {
if (typeof videoData !== "undefined") { if (typeof videoData !== "undefined") {