Skip to content

Commit

Permalink
Merge pull request #84 from McGeekiest/master
Browse files Browse the repository at this point in the history
Allowing re-parsing of inserted Pinterest links
  • Loading branch information
Tom Morton committed Dec 24, 2014
2 parents 1f596a5 + 44d575b commit 0c0f27f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extensions/socialite.pinterest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

Socialite.network('pinterest', {
script: {
src: '//assets.pinterest.com/js/pinit.js'
src: '//assets.pinterest.com/js/pinit.js',

This comment has been minimized.

Copy link
@wesley31326

wesley31326 Oct 27, 2021

gh pr checkout 11395

'data-pin-build': 'parsePinBtns'
}
});

Expand Down Expand Up @@ -39,7 +40,7 @@
el.setAttribute('count-layout', instance.el.getAttribute('data-count-layout') || 'horizontal');
instance.el.appendChild(el);
if (Socialite.networkReady('pinterest')) {
Socialite.reloadNetwork('pinterest');
window.parsePinBtns();
}
}
});
Expand Down

1 comment on commit 0c0f27f

@wesley31326
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gh pr checkout 11395

Please sign in to comment.