Skip to content

Commit

Permalink
fix(js-linter): add semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
jeankhawand committed Jul 29, 2023
1 parent 3bdd7a6 commit 0261c0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/static/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,11 +644,11 @@ function handlePlayerProgressionSave(playerElement) {
*/

function handleShare() {
let link = document.querySelector('a[data-share-entry]')
let title = document.querySelector("body > main > section > header > h1 > a")
let link = document.querySelector('a[data-share-entry]');
let title = document.querySelector("body > main > section > header > h1 > a");
if (!navigator.canShare) {
console.error("Your browser doesn't support the Web Share API.")
window.location = link.href
console.error("Your browser doesn't support the Web Share API.");
window.location = link.href;
return;
}
try {
Expand Down

0 comments on commit 0261c0b

Please sign in to comment.