Skip to content

Commit

Permalink
Merge pull request #155 from hlxsites/bug/social-share
Browse files Browse the repository at this point in the history
Updated the order
  • Loading branch information
davenichols-DHLS authored Nov 21, 2023
2 parents fa2b6b1 + 62f6336 commit a563e35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blocks/social-share/social-share.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function createShareButton(network, url, title) {
}

function renderShareButtons(container, url, title) {
const networks = ['twitter', 'linkedin', 'facebook'];
const networks = ['twitter', 'facebook', 'linkedin'];
const list = document.createElement('ul');
list.className = 'hs-blog-social-share-list';

Expand Down
2 changes: 1 addition & 1 deletion templates/Blog/Blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function createShareButton(network, url, title) {
}

function renderShareButtons(container, url, title) {
const networks = ['twitter', 'linkedin', 'facebook'];
const networks = ['twitter', 'facebook', 'linkedin'];
const list = document.createElement('ul');
list.className = 'hs-blog-social-share-list';

Expand Down
2 changes: 1 addition & 1 deletion templates/News/News.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function createShareButton(network, url, title) {
}

function renderShareButtons(container, url, title) {
const networks = ['twitter', 'linkedin', 'facebook'];
const networks = ['twitter', 'facebook', 'linkedin'];
const list = document.createElement('ul');
list.className = 'hs-blog-social-share-list';

Expand Down

0 comments on commit a563e35

Please sign in to comment.