Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
Merge branch 'inputpos-768744'
Browse files Browse the repository at this point in the history
  • Loading branch information
joewalker committed Aug 29, 2012
2 parents 278daa6 + 7e4bc42 commit e5fa335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gcli/ui/inputter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit e5fa335

Please sign in to comment.