Sha256: 328b9bb6eb2a63c29c65ac5733363dcb68fe6ffa7cca576885fae5fc5c1b907b
Contents?: true
Size: 514 Bytes
Versions: 8
Compression:
Stored size: 514 Bytes
Contents
// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(document).ready(function() { var clipboard = new Clipboard('.copy-icon'); clipboard.on('success', function(e) { imgBox = $(e.trigger).parents('.img-box') icon = $(e.trigger) imgBox.addClass('copied') icon.addClass('white') setTimeout(function() { imgBox.removeClass('copied') icon.removeClass('white') }, 600) }); })
Version data entries
8 entries across 8 versions & 1 rubygems