mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
[PALEMOON] Update handle-xul-text-link to deal with json source data
This commit is contained in:
parent
a324c5b847
commit
430c6c62ac
1 changed files with 2 additions and 1 deletions
|
|
@ -254,7 +254,8 @@ BrowserGlue.prototype = {
|
|||
if (!linkHandled.data) {
|
||||
let win = this.getMostRecentBrowserWindow();
|
||||
if (win) {
|
||||
win.openUILinkIn(data, "tab");
|
||||
data = JSON.parse(data);
|
||||
win.openUILinkIn(data.href, "tab");
|
||||
linkHandled.data = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue