github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 696
    • 138
  • Source
  • Commits
  • Network (138)
  • Graphs
  • Tree: 0aa4c7f

click here to add a description

click here to add a homepage

  • Switch Branches (8)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
    • widget-super
  • Switch Tags (19)
    • 1.9m2
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Removed case-sensitive .nodeName check.

Fixes #5557 - Comparing element.nodeName directly against upper case tag names 
can cause problems.
scottgonzalez (author)
Tue Apr 27 19:41:10 -0700 2010
commit  0aa4c7f9b6bc13791197
tree    4c3cef8cda59c8f7062b
parent  670ab819a9a6388393e2
M ui/jquery.ui.accordion.js 4 ••••
Txt ui/jquery.ui.accordion.js
  • View file @ 0aa4c7f
... ...
@@ -40,9 +40,7 @@ $.widget("ui.accordion", {
40 40
     this.element.addClass("ui-accordion ui-widget ui-helper-reset");
41 41
     
42 42
     // in lack of child-selectors in CSS we need to mark top-LIs in a UL-accordion for some IE-fix
43  
-    if (this.element[0].nodeName == "UL") {
44  
-      this.element.children("li").addClass("ui-accordion-li-fix");
45  
-    }
  43
+    this.element.children("li").addClass("ui-accordion-li-fix");
46 44
 
47 45
     this.headers = this.element.find(o.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all")
48 46
       .bind("mouseenter.accordion", function(){ $(this).addClass('ui-state-hover'); })

0 notes on commit 0aa4c7f

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server