mirror of https://github.com/onweru/compose.git

weru
30.36.2021 8425d2d7974d9113c873b8ce1c140cda87c2aa45
cleanup

Signed-off-by: weru <fromweru@gmail.com>
1 files modified
3 ■■■■ changed files
assets/js/index.js 3 ●●●● patch | view | raw | blame | history
assets/js/index.js
@@ -153,9 +153,8 @@
  (function markExternalLinks(){
    let links = elems('a');
    const contentWrapperClass = '.content';
    if(links) {
      Array.from(links).forEach(function(link, index){
      Array.from(links).forEach(function(link){
        let target, rel, blank, noopener, attr1, attr2, url, isExternal;
        url = new URL(link.href);
        // definition of same origin: RFC 6454, section 4 (https://tools.ietf.org/html/rfc6454#section-4)