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

width != 'auto'

Open JurgenGuderian opened this issue 13 years ago • 2 comments

var tipInnerWidth = parseInt(opts.width, 10) || 275 -->?

why not:

var tipInnerWidth = isNaN(parseInt(opts.width, 10)) ? 'auto' : (/\D/g).test(opts.width) ? opts.width : opts.width + 'px' ?????

Like with height?

JurgenGuderian avatar Feb 05 '12 19:02 JurgenGuderian

Please calm down. You will not get help any sooner by yelling and swearing.

If it's such a big bug, I'd recommend you fork the repo, fix it, and then send me a pull request.

Thanks.

kswedberg avatar Feb 05 '12 19:02 kswedberg

I dont know, but I think I've done everything correctly : clicked "Fork"

JurgenGuderian avatar Feb 08 '12 15:02 JurgenGuderian