Update changelog

This commit is contained in:
Jeremy Thomas
2018-08-01 11:28:08 +01:00
parent 6ad2e3df05
commit dbf472a540
4 changed files with 35 additions and 30 deletions

View File

@@ -6,12 +6,14 @@ document.addEventListener('DOMContentLoaded', function () {
var introVideo = document.getElementById('introVideo');
var introIframe = document.getElementById('introIframe');
var introPlayer = new Vimeo.Player(introIframe);
var npmClipboard = new Clipboard('#npmCopy');
introPlayer.ready().then(function () {
introVideo.classList.add('has-loaded');
});
if (Vimeo) {
var introPlayer = new Vimeo.Player(introIframe);
introPlayer.ready().then(function () {
introVideo.classList.add('has-loaded');
});
}
npmClipboard.on('success', function (e) {
e.trigger.innerText = 'copied!';