-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce padding on coverstory headline, add bluesky to main nav and fo…
…oter, remove tiktok cause it got banned, lazy loading to sidebar image, move via in bluesky sharing link, add id to authors page media link the window scrolls to results when you change media
- Loading branch information
1 parent
ee3f3a3
commit 0c93798
Showing
7 changed files
with
23 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -301,20 +301,20 @@ function initializeSocialMediaActions() { | |
|
||
$(document).on('click', '.share-mastodon', function (e) { | ||
e.preventDefault(); | ||
window.open('https://tootpick.org/#text=' + title + '%20' + window.location.href + ' #ubyssey', | ||
window.open('https://tootpick.org/#text=' + title + '%20' + window.location.href + '%20#ubyssey', | ||
'height=450, width=550, top=' + ($(window).height() / 2 - 225) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0'); | ||
}); | ||
|
||
$(document).on('click', '.share-bsky', function (e) { | ||
e.preventDefault(); | ||
window.open('https://bsky.app/intent/compose/?text=' + title + '%20' + window.location.href + '%20via%[email protected]', | ||
window.open('https://bsky.app/intent/compose/?text=' + title + '%20%20via%[email protected]%20' + window.location.href, | ||
'height=450, width=550, top=' + ($(window).height() / 2 - 225) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0'); | ||
}); | ||
|
||
// on clicking on the a element w/ class=='twitter', share on twitter | ||
$(document).on('click', '.share-twitter', function (e) { | ||
e.preventDefault(); | ||
window.open('http://twitter.com/share?url=' + window.location.href + '&text=' + title + ' via @ubyssey &', 'twitterwindow', | ||
window.open('http://twitter.com/share?url=' + window.location.href + '&text=' + title + '%20via%20@ubyssey&', 'twitterwindow', | ||
'height=450, width=550, top=' + ($(window).height() / 2 - 225) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0'); | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters