Hi I just started using ZeroClipBoard, so I am still acclimating myself with it. I have it working however I can not for the life of me get the hand cursor icon on hover of the elements. I am also getting an error in the console everytime i hover a clip element: Uncaught Error: Error calling method on NPObject.
Here is a link to the project: http://git-cheatsheet.com/
Here is my code:
ZeroClipboard.config({ forceHandCursor: true });
var client = new ZeroClipboard( gitSnip );
client.on( "ready", function( readyEvent ) {
client.on( "copy", function (event) {
var clipboard = event.clipboardData;
clipboard.setData( "text/plain" );
});
client.on( "aftercopy", function( event ) {
$(".overlay").fadeIn().addClass('active');
setTimeout(function(){
$(".overlay").fadeOut().removeClass('active');
},1200);
});
});