SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2006
    Location
    Augusta, Georgia, United States
    Posts
    4,146
    Mentioned
    16 Post(s)
    Tagged
    3 Thread(s)

    JQuery & qtip: IE7 is choking on sizzle line 1782

    I'm using the jquery qtip extension and IE7 is choking on line 1782 in the jquery source. Anyone have any ideas?

    Code JAVASCRIPT:
    ...
    	preFilter: {
    		CLASS: function(match, curLoop, inplace, result, not, isXML){
    			match = " " + match[1].replace(/\\/g, "") + " ";
     
    			if ( isXML ) {
    				return match;
    			}
     
    			for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
    				if ( elem ) {
    					/* 1782 */if ( not ^/* wtf? */ (elem.className && (" " + elem.className + " ").indexOf(match) >= 0) ) {
    						if ( !inplace )
    							result.push( elem );
    					} else if ( inplace ) {
    						curLoop[i] = false;
    					}
    				}
    			}
     
    			return false;
    		},
    ...
    The only code I hate more than my own is everyone else's.

  2. #2
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    What version of jQuery are you using?

    We stopped using qTip at work after upgrading to jQuery 1.4.*
    qTip still requires jQuery 1.3.* - perhaps that's the problem?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •