Hook icon indicating copy to clipboard operation
Hook copied to clipboard

progressive enhancement

Open pixeline opened this issue 10 years ago • 0 comments

Great functionality. I would just suggest that you inject the #hook div instead of hardcoding empty divs in your html markup.

Simple implementation, as is:

$('body').prepend('<div class="hook" id="hook"><div class="hook-loader"><div class="hook-spinner"></div></div></div>').find('#hook').hook();

pixeline avatar Sep 19 '13 11:09 pixeline