Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

Commit

Permalink
Some more code fixes found by LGTM
Browse files Browse the repository at this point in the history
  • Loading branch information
teusink committed Jan 26, 2020
1 parent a4b4813 commit efcfb09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-app/js/jpholo.core.plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ function share(subject, text) {
}
);
} else {
subject = subject.replace('', '%20');
text = text.replace('', '%20');
subject = subject.replace(/ /g, '%20');
text = text.replace(/ /g, '%20');
window.location.href = "mailto:[email protected]?subject=" + subject + "&body=" + text;
}
}
Expand Down

0 comments on commit efcfb09

Please sign in to comment.