Comparing version 1.8.1 to 1.8.2
@@ -67,3 +67,3 @@ import utils from './utils'; | ||
// We should cut this ourself. | ||
var bodyStyle = getComputedStyle(body); | ||
var bodyStyle = window.getComputedStyle(body); | ||
if (bodyStyle.overflowX === 'hidden') { | ||
@@ -70,0 +70,0 @@ documentWidth = win.innerWidth; |
@@ -83,3 +83,3 @@ 'use strict'; | ||
// We should cut this ourself. | ||
var bodyStyle = getComputedStyle(body); | ||
var bodyStyle = window.getComputedStyle(body); | ||
if (bodyStyle.overflowX === 'hidden') { | ||
@@ -86,0 +86,0 @@ documentWidth = win.innerWidth; |
{ | ||
"name": "dom-align", | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"description": "Align DOM Node Flexibly ", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87601