PWV-1: Fixing merging issues
This commit is contained in:
1 parent
481bf30a14
commit
db0602def7
29 files changed
+392
-488
No files matched your search
@@ -79,7 +79,7 @@ class Bounded {
|
||||
const result = {};
|
||||
|
||||
// Check if the element is the window
|
||||
if (element === window) {
|
||||
if (!element || element === window) {
|
||||
const $window = $(window);
|
||||
const width = $window.outerWidth();
|
||||
const height = $window.outerHeight();
|
||||
|
||||
Reference in new issue
Block a user