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

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 249
    • 27
  • Source
  • Commits
  • Network (27)
  • Graphs
  • Tree: 9aa5638

click here to add a description

click here to add a homepage

  • Switch Branches (4)
    • bind
    • master
    • panel
    • tooltip
  • Switch Tags (15)
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Autocomplete: fixed #5347 - Autocomplete: each successive item hover makes 
item above shrink a bit in IE
rdworth (author)
Mon Mar 15 13:40:20 -0700 2010
commit  9aa56386a355e1de92dcdd7ce1a644b76df9b301
tree    3b19c642a1e0c643d7d3b9fa88bc5f1a949c5c06
parent  2a7fc816eefa9a93e3a3302e444539ea971b50d3
M ui/jquery.ui.autocomplete.js 12 ••••
Txt ui/jquery.ui.autocomplete.js
  • View file @ 9aa5638
... ...
@@ -352,12 +352,6 @@ $.widget("ui.menu", {
352 352
 
353 353
   activate: function(item) {
354 354
     this.deactivate();
355  
-    this.active = item.eq(0)
356  
-      .children("a")
357  
-        .addClass("ui-state-hover")
358  
-        .attr("id", "ui-active-menuitem")
359  
-      .end();
360  
-    this._trigger("focus", null, { item: item });
361 355
     if (this.hasScroll()) {
362 356
       var offset = item.offset().top - this.element.offset().top,
363 357
         scroll = this.element.attr("scrollTop"),
... ...
@@ -368,6 +362,12 @@ $.widget("ui.menu", {
368 362
         this.element.attr("scrollTop", scroll + offset - elementHeight + item.height());
369 363
       }
370 364
     }
  365
+    this.active = item.eq(0)
  366
+      .children("a")
  367
+        .addClass("ui-state-hover")
  368
+        .attr("id", "ui-active-menuitem")
  369
+      .end();
  370
+    this._trigger("focus", null, { item: item });
371 371
   },
372 372
 
373 373
   deactivate: function() {

0 notes on commit 9aa5638

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