0

Is it standard practice to hold an entire project at a certain release of jQuery until I can fix one measly bug?

details: I'm using an older version of qTip because that is what works with jQuery 1.4.2 (the current release when I started the project). It's important to note that the release candidate of qTip does not work with the currently stable jQuery.

A bug showed up in my qTip functionality where the tool-tips starting animating themselves in from off-screen whereas they should pop-up on the element on mouse-over.

Needless to say, I thought I had broke something but eventually noticed that jQuery had moved up a notch so I moved back to jQuery 1.4.2 and viola, tool-tips work as expected.

Now I don't know what to do; I want to keep the project at the current and stable jQuery library but I'm not sure how to debug for something like this.

Also, I don't feel I should be submitting bugs to an old version of an app, either, but maybe I am wrong.

Thanks in advance.

Community
  • 1
  • 1
orolo
  • 3,951
  • 2
  • 30
  • 30

1 Answers1

1

On qTip library replace the line

if(typeof $(this).data('qtip') == 'object')

with

if($(this).data('qtip') !== null && typeof $(this).data('qtip') == 'object')

Good Luck!

Saiful
  • 1,592
  • 3
  • 15
  • 18
  • 1
    i found this line: if(typeof $(this).data('qtip') === 'object' && $(this).data('qtip')) – orolo Nov 01 '10 at 21:21