From: Peter Korsgaard Date: Fri, 27 Apr 2018 19:50:16 +0000 (+0200) Subject: website: footer.html: use 1.7.1 release of clipboard.js X-Git-Tag: 2018.05-rc1~293 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/coffee/buildroot.git/commitdiff_plain/6e0f3912e8eb0f59824d2c5d567f599090243044 website: footer.html: use 1.7.1 release of clipboard.js The clipboard javascript code causes an error: Uncaught TypeError: Illegal constructor at buildroot.js:58 Which is caused by a recent change in upstream clipboard.js: https://github.com/zenorocha/clipboard.js/releases/tag/v2.0.0 Changes constructor from new Clipboard() to new ClipboardJS() The issue was that we were using the master version of clipboard.js instead of a specific release. Fix it by using the 1.7.1 version (latest release before the constructor change) instead. Signed-off-by: Peter Korsgaard Signed-off-by: Peter Korsgaard --- diff --git a/docs/website/footer.html b/docs/website/footer.html index 279c8b1b5c..60a8872f77 100644 --- a/docs/website/footer.html +++ b/docs/website/footer.html @@ -1,6 +1,6 @@ - +