Sha256: 1ca48bb32ce3ae64e39aec34f0c6b95e92aeda0f187da5e7dc36253b7a5bc829
Contents?: true
Size: 546 Bytes
Versions: 11
Compression:
Stored size: 546 Bytes
Contents
"use strict";var KTModalShareEarn={init:function(){var e,n,s;e=document.querySelector("#kt_share_earn_link_copy_button"),n=document.querySelector("#kt_share_earn_link_input"),(s=new ClipboardJS(e))&&s.on("success",(function(s){var t=e.innerHTML;n.classList.add("bg-success"),n.classList.add("text-inverse-success"),e.innerHTML="Copied!",setTimeout((function(){e.innerHTML=t,n.classList.remove("bg-success"),n.classList.remove("text-inverse-success")}),3e3),s.clearSelection()}))}};KTUtil.onDOMContentLoaded((function(){KTModalShareEarn.init()}));
Version data entries
11 entries across 5 versions & 1 rubygems