Changeset 3473
- Timestamp:
- 11/19/09 08:37:05 (4 months ago)
- Files:
-
- 1 modified
-
trunk/ui/jquery.ui.position.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/jquery.ui.position.js
r3243 r3473 30 30 basePosition; 31 31 32 if (options.of == document) {32 if (options.of.nodeType === 9) { 33 33 targetWidth = target.width(); 34 34 targetHeight = target.height(); 35 35 basePosition = { top: 0, left: 0 }; 36 } else if ( options.of == window) {36 } else if ('scrollTo' in options.of && options.of.document) { 37 37 targetWidth = target.width(); 38 38 targetHeight = target.height();