Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KostasSliazas authored Dec 11, 2023
1 parent 9c44335 commit 4c18b9e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions tools/links/js/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
for (let i = 0; i < w.localStorage.length; i++) {
const key = w.localStorage.key(i);
const item = getItemFromLocalStorage(key);
if(!item['full'])return
// hack for googleclosure compil becouse full -->> undefined
const { 'full':full, 'text':text, 'type':type, 'url':url } = item;
if (key) {
Expand All @@ -127,6 +128,7 @@
for (let i = 0; i < w.localStorage.length; i++) {
const key = w.localStorage.key(i);
const item = getItemFromLocalStorage(key);
if(!item['full'])return
const { 'full':full, 'text':text, 'type':type, 'url':url } = item;

if (typeof full !== 'undefined' && full.indexOf('http') > -1) {
Expand Down
18 changes: 9 additions & 9 deletions tools/links/js/links.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4c18b9e

Please sign in to comment.