Changeset 5580
- Timestamp:
- 05/13/08 16:43:36 (3 months ago)
- Files:
-
- 1 modified
-
trunk/ui/ui.core.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/ui.core.js
r5496 r5580 163 163 this.element 164 164 .bind('mousedown.mouse', function() { return self.click.apply(self, arguments); }) 165 .bind('mouseup.mouse', function() { (self.timer && clear Interval(self.timer)); })165 .bind('mouseup.mouse', function() { (self.timer && clearTimeout(self.timer)); }) 166 166 .bind('click.mouse', function() { if(self.initialized) { self.initialized = false; return false; } }); 167 167 //Prevent text selection in IE … … 198 198 199 199 if(this.options.delay) { 200 if(this.timer) { clear Interval(this.timer); }200 if(this.timer) { clearTimeout(this.timer); } 201 201 this.timer = setTimeout(initialize, this.options.delay); 202 202 } else {