2 July, 2010

jQuery qtip & fullcalendar

Was having a really strange problem today; getting qtip (1.0.0-rc3) and fullcalendar (1.4.5) to play nice. No matter what, it was erroring on line 139:

$(this).data('qtip').current = $(this).data('qtip').interfaces.length

Thankfully the intertubes had a very helpful post; changing line 134:

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


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

made it all happy. Good coding practice FTW...