Changeset 454
- Timestamp:
- 01/18/06 23:26:43 (7 years ago)
- Files:
-
- 1 modified
-
trunk/htmlarea.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r453 r454 3047 3047 } 3048 3048 3049 HTMLArea.prototype._selectionEmpty = function(sel) 3050 { 3051 if(!sel) return true; 3052 3053 if(HTMLArea.is_ie) 3054 { 3049 if(HTMLArea.is_ie) 3050 { 3051 HTMLArea.prototype._selectionEmpty = function(sel) 3052 { 3053 if(!sel) 3054 { 3055 return true; 3056 } 3057 3055 3058 return this._createRange(sel).htmlText == ''; 3056 } 3057 else if(typeof sel.isCollapsed != 'undefined') 3058 { 3059 return sel.isCollapsed; 3060 } 3061 3062 return true; 3063 }; 3059 }; 3060 } 3061 else 3062 { 3063 HTMLArea.prototype._selectionEmpty = function(sel) 3064 { 3065 if(!sel) 3066 { 3067 return true; 3068 } 3069 3070 if(typeof sel.isCollapsed != 'undefined') 3071 { 3072 return sel.isCollapsed; 3073 } 3074 3075 return true; 3076 }; 3077 } 3064 3078 3065 3079 HTMLArea.prototype._getAncestorBlock = function(sel)
