From a9d4fa9d89e12aeda29753b3ef3182522d80677c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 28 Oct 2020 09:17:17 -0700 Subject: v1.1.0 release --- icons/bucket/index.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'icons/bucket') diff --git a/icons/bucket/index.html b/icons/bucket/index.html index c1fea3360..cab5a0c62 100644 --- a/icons/bucket/index.html +++ b/icons/bucket/index.html @@ -5,7 +5,7 @@ Bucket ยท Bootstrap Icons - + @@ -32,7 +32,7 @@ - + @@ -56,7 +56,7 @@ @@ -199,7 +199,7 @@
  • Twitter
  • About
  • -

    Currently v1.0.0. Icons and documentation licensed MIT.

    +

    Currently v1.1.0. Icons and documentation licensed MIT.

    @@ -219,11 +219,11 @@ } }) - clipboard.on('success', function (e) { - e.clearSelection() - e.trigger.textContent = 'Copied!' + clipboard.on('success', function (event) { + event.clearSelection() + event.trigger.textContent = 'Copied!' setTimeout(function () { - e.trigger.textContent = 'Copy' + event.trigger.textContent = 'Copy' }, 2000); }) @@ -232,7 +232,9 @@ var fallbackMsg = 'Press ' + modifierKey + 'C to copy' var errorElement = document.getElementById('copy-error-callout') - if (!errorElement) return + if (!errorElement) { + return + } errorElement.classList.remove('d-none') errorElement.insertAdjacentHTML('afterbegin', fallbackMsg) -- cgit v1.2.3