Sha256: 3ed14d3f7d72a3ef07c88bbcdd3b6029b0b8e0be03a26910abb54bb368bd9ed9
Contents?: true
Size: 624 Bytes
Versions: 11
Compression:
Stored size: 624 Bytes
Contents
"use strict";var KTSupportCenterGeneral={init:function(){!function(e){var t=e;if(void 0===t&&(t=document.querySelectorAll(".highlight")),t&&t.length>0)for(var n=0;n<t.length;++n){var r=t[n].querySelector(".highlight-copy");r&&new ClipboardJS(r,{target:function(e){var t=e.closest(".highlight"),n=t.querySelector(".tab-pane.active");return null==n&&(n=t.querySelector(".highlight-code")),n}}).on("success",(function(e){var t=e.trigger.innerHTML;e.trigger.innerHTML="copied",e.clearSelection(),setTimeout((function(){e.trigger.innerHTML=t}),2e3)}))}}()}};KTUtil.onDOMContentLoaded((function(){KTSupportCenterGeneral.init()}));
Version data entries
11 entries across 5 versions & 1 rubygems