Changeset 690

Show
Ignore:
Timestamp:
09/18/08 02:54:04 (18 months ago)
Author:
paul.bakaus
Message:

core: enableSelection/disableSelection now return the chain (implements #3174)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/ui.core.js

    r680 r690  
    272272        }, 
    273273        disableSelection: function(el) { 
    274                 $(el) 
     274                return $(el) 
    275275                        .attr('unselectable', 'on') 
    276276                        .css('MozUserSelect', 'none') 
     
    278278        }, 
    279279        enableSelection: function(el) { 
    280                 $(el) 
     280                return $(el) 
    281281                        .attr('unselectable', 'off') 
    282282                        .css('MozUserSelect', '')