Changeset 14052

Show
Ignore:
Timestamp:
06/18/08 05:33:25 (5 months ago)
Author:
alex
Message:

some more byte scrimping. Refs #3961 !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/_base/html.js

    r13991 r14052  
    7373                _destroyContainer=null; //prevent IE leak 
    7474        }); 
     75 
    7576        dojo._destroyElement = function(/*String||DomNode*/node){ 
    7677                // summary: 
     
    122123                        node.style.KhtmlUserSelect = selectable ? "auto" : "none"; 
    123124                }else if(d.isIE){ 
    124                         node.unselectable = selectable ? "" : "on"; 
    125                         d.query("*", node).forEach(function(descendant){ 
    126                                 descendant.unselectable = selectable ? "" : "on"; 
    127                         }); 
     125                        var v = node.unselectable = selectable ? "" : "on"; 
     126                        d.query("*", node).forEach("item.unselectable = '"+v+"'"); 
    128127                } 
    129128                //FIXME: else?  Opera?