Browse Source

update

master
lnx4 2 years ago
parent
commit
2e543f8124
  1. 1
      chromium-lorpic/app.js
  2. 1
      firefox-lorpic/app.js

1
chromium-lorpic/app.js

@ -16,6 +16,7 @@
image.setAttribute('class', 'lorpic'); image.setAttribute('class', 'lorpic');
image.setAttribute('src', url); image.setAttribute('src', url);
//link.replaceWith(image); //link.replaceWith(image);
link.innerHTML = "";
link.appendChild(image); link.appendChild(image);
link.setAttribute('target', '_blank'); link.setAttribute('target', '_blank');
} }

1
firefox-lorpic/app.js

@ -16,6 +16,7 @@
image.setAttribute('class', 'lorpic'); image.setAttribute('class', 'lorpic');
image.setAttribute('src', url); image.setAttribute('src', url);
//link.replaceWith(image); //link.replaceWith(image);
link.innerHTML = "";
link.appendChild(image); link.appendChild(image);
link.setAttribute('target', '_blank'); link.setAttribute('target', '_blank');
} }

Loading…
Cancel
Save