Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

jQuery 1.10.1 - 2.0.2 and size is not defined error #545

Closed
tstar opened this issue Jun 26, 2013 · 0 comments
Closed

jQuery 1.10.1 - 2.0.2 and size is not defined error #545

tstar opened this issue Jun 26, 2013 · 0 comments

Comments

@tstar
Copy link

tstar commented Jun 26, 2013

Hello!

I have error with jQuery 1.10.1 - 2.0.2 and qTip2 v2.0.1-111 (and earlier versions).

Error occured: ReferenceError: size is not defined
URL: http://localhost:51967/Scripts/jquery.qtip.js
Line number: 2037

I found the same, but closed issue #521 (comment)

The problem in code:

_useTitle: function(corner) {
    var titlebar = this.qtip.elements.titlebar;
    return titlebar && (
        corner.y === TOP || (corner.y === CENTER && this.element.position().top + (size[1] / 2) + options.offset < titlebar.outerHeight(TRUE))
    );
},
@Craga89 Craga89 closed this as completed in ef3a37b Jul 7, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant