Skip to content

Commit

Permalink
Fix failing layout test in Opera 12. [close #228]
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed May 5, 2015
1 parent 4cbba52 commit e281702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prototype/dom/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
return boxWidth - bl - br - pl - pr;
}

if ('currentStyle' in document.documentElement) {
if (!Object.isUndefined(document.documentElement.currentStyle) && !Prototype.Browser.Opera) {
getRawStyle = getRawStyle_IE;
}

Expand Down

0 comments on commit e281702

Please sign in to comment.