jquery-fieldselection icon indicating copy to clipboard operation
jquery-fieldselection copied to clipboard

Latest Jquery version are not supported

Open meltior opened this issue 14 years ago • 1 comments

At least that's what i've noticed

meltior avatar Oct 06 '11 16:10 meltior

Here is the trick

//var e = (typeof this.id == 'function') ? this.get(0) : this; //old jquery this is true on latest not
var e = (this instanceof jQuery) ? this.get(0) : jQuery(this).get(0); //new jquery checking

roelbarreto avatar Jun 25 '13 22:06 roelbarreto