Bug Tracker

Changeset 4181

Show
Ignore:
Timestamp:
12/16/07 16:12:13 (1 year ago)
Author:
klaus.hartl
Message:

use map

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/current/ui.tabs.js

    r4145 r4181  
    128128 
    129129            this.$lis = $('li:has(a[href])', this.source); 
    130             this.$tabs = $('a[href]', this.source); 
     130            this.$tabs = this.$lis.map(function() { return $('a', this)[0] }); 
    131131            this.$panels = $([]); 
    132132