Skip to content

Commit

Permalink
Merge pull request #1224 from ThatConference/cs/sitemapUpdate
Browse files Browse the repository at this point in the history
chore: sitemap update
  • Loading branch information
theClarkSell committed Apr 15, 2022
2 parents 8d0351e + d343183 commit abc583c
Show file tree
Hide file tree
Showing 2 changed files with 1,676 additions and 1,425 deletions.
11 changes: 2 additions & 9 deletions src/routes/__layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<script>
import { onMount, setContext } from 'svelte';
import { navigating, session, page } from '$app/stores';
import { navigating, session } from '$app/stores';
import loading from '$stores/loading';
import { showReleaseNotes } from '$stores/siteVersion';
Expand Down Expand Up @@ -136,16 +136,9 @@
});
}
}
function copy(e) {
const selection = document.getSelection();
const appededString = `${selection.toString()}\r\n\nRead more at: ${$page.url.href} on THAT.`;
e.clipboardData.setData('text/plain', appededString);
}
</script>

<div on:copy|preventDefault={copy}>
<div>
{#if $navigating || $loading}
<Preloading />
{/if}
Expand Down
Loading

0 comments on commit abc583c

Please sign in to comment.