Permalink
Browse files

Merge branch 'inputpos-768744'

  • Loading branch information...
2 parents 278daa6 + 7e4bc42 commit e5fa3351bb7e65b4039bfef579d620efb52285ca @joewalker committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/gcli/ui/inputter.js
@@ -154,7 +154,7 @@ Inputter.prototype.getDimensions = function() {
var fixedLoc = {};
var currentElement = this.element.parentNode;
while (currentElement && currentElement.nodeName !== '#document') {
- var style = document.defaultView.getComputedStyle(currentElement, '');
+ var style = this.document.defaultView.getComputedStyle(currentElement, '');
if (style) {
var position = style.getPropertyValue('position');
if (position === 'absolute' || position === 'fixed') {

0 comments on commit e5fa335

Please sign in to comment.