sibanu_web/public/assets/js/components/init/copy-icon.min.js
2022-08-20 13:21:23 +07:00

4 lines
376 B
JavaScript

//
// Icon code copy/paste
//
"use strict";var CopyIcon=function(){var t,o=".btn-icon-clipboard",i=$(o);i.length&&((t=i).tooltip().on("mouseleave",function(){t.tooltip("hide")}),new ClipboardJS(o).on("success",function(t){$(t.trigger).attr("title","Copied!").tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle"),t.clearSelection()}))}();